Documentation ¶
Index ¶
- type CfgpltfmClient
- func (cli *CfgpltfmClient) Bind(grpcServer *grpc.Server) bool
- func (cli *CfgpltfmClient) Get(key string, camp int32) *cfgpltrpcpb.GetResp
- func (cli *CfgpltfmClient) GetAndWatch(key string, camp int32, callback func(*cfgpltrpcpb.GetResp)) bool
- func (cli *CfgpltfmClient) Push(ctx context.Context, req *cfgpltrpcpb.PushReq) (*cfgpltrpcpb.PushResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CfgpltfmClient ¶
type CfgpltfmClient struct { cfgpltrpcpb.UnimplementedCfgpltClientRpcServer // contains filtered or unexported fields }
func New ¶
func New(cfgpltAddr, selfAddr string) *CfgpltfmClient
func (*CfgpltfmClient) Bind ¶ added in v0.0.17
func (cli *CfgpltfmClient) Bind(grpcServer *grpc.Server) bool
func (*CfgpltfmClient) Get ¶
func (cli *CfgpltfmClient) Get(key string, camp int32) *cfgpltrpcpb.GetResp
func (*CfgpltfmClient) GetAndWatch ¶
func (cli *CfgpltfmClient) GetAndWatch(key string, camp int32, callback func(*cfgpltrpcpb.GetResp)) bool
func (*CfgpltfmClient) Push ¶ added in v0.0.17
func (cli *CfgpltfmClient) Push(ctx context.Context, req *cfgpltrpcpb.PushReq) (*cfgpltrpcpb.PushResp, error)
Click to show internal directories.
Click to hide internal directories.