Documentation ¶
Index ¶
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
客户端 => 中心 请求
Click to show internal directories.
Click to hide internal directories.