rpc-go/client/client-context.go
crusader 6729b0465a ing
2018-05-02 17:47:34 +09:00

20 lines
267 B
Go

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
}