rpc/client/client_context.go
crusader afd49dd0dc ing
2017-11-29 18:55:24 +09:00

21 lines
304 B
Go

package client
import (
cuc "git.loafle.net/commons_go/util/context"
)
type ClientContext interface {
cuc.Context
}
type clientContext struct {
cuc.Context
}
func newClientContext(parent cuc.Context) ClientContext {
cCTX := &clientContext{}
cCTX.Context = cuc.NewContext(parent)
return cCTX
}