package rpc import ( cuc "git.loafle.net/commons_go/util/context" ) type RPCServletContext interface { cuc.Context } type rpcServletContext struct { cuc.Context } func newRPCServletContext(parent cuc.Context) RPCServletContext { sCTX := &rpcServletContext{} sCTX.Context = cuc.NewContext(parent) return sCTX }