package client import ( cuc "git.loafle.net/commons_go/util/context" ) type SocketContext interface { cuc.Context } func newSocketContext() SocketContext { sCTX := &socketContext{} sCTX.Context = cuc.NewContext(nil) return sCTX } type socketContext struct { cuc.Context }