server-go/socket/client/client-context.go

20 lines
267 B
Go
Raw Normal View History

2018-05-11 04:16:30 +00:00
package client
import (
cuc "git.loafle.net/commons/util-go/context"
)
type ClientCtx interface {
cuc.Context
}
func NewClientCtx(parent cuc.Context) ClientCtx {
return &clientCtx{
Context: cuc.NewContext(parent),
}
}
type clientCtx struct {
cuc.Context
}