调整注释
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Description : 上下文信息
|
||||
//
|
||||
// Author : go_developer@163.com<张德满>
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2021-03-27 6:53 下午
|
||||
package context
|
||||
@ -23,7 +23,7 @@ import (
|
||||
|
||||
// WSContext 请求上下文
|
||||
//
|
||||
// Author : go_developer@163.com<张德满>
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 7:03 下午 2021/3/27
|
||||
type WSContext struct {
|
||||
@ -39,7 +39,7 @@ type WSContext struct {
|
||||
|
||||
// NewContext 生成上下文信息
|
||||
//
|
||||
// Author : go_developer@163.com<张德满>
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 7:15 下午 2021/3/27
|
||||
func NewContext(ginCtx *gin.Context, flag string, session *melody.Session) *WSContext {
|
||||
@ -59,7 +59,7 @@ func NewContext(ginCtx *gin.Context, flag string, session *melody.Session) *WSCo
|
||||
|
||||
//CloneContext 克隆上下文信息
|
||||
//
|
||||
// Author : go_developer@163.com<张德满>
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 8:07 下午 2021/4/18
|
||||
func CloneContext(ctx *WSContext) *WSContext {
|
||||
@ -80,7 +80,7 @@ func CloneContext(ctx *WSContext) *WSContext {
|
||||
|
||||
// generateConnectionID 生成connection_id
|
||||
//
|
||||
// Author : go_developer@163.com<张德满>
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 5:18 下午 2021/4/8
|
||||
func generateConnectionID(flag string) string {
|
||||
|
Reference in New Issue
Block a user