cfgpltfm

package
v0.0.64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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, env string) *CfgpltfmClient

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) Ping added in v0.0.27

func (cli *CfgpltfmClient) Ping() bool

客户端 => 中心 心跳

func (*CfgpltfmClient) Push added in v0.0.17

中心 => 客户端

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL