Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(cnf *configure.Server) (client *grpc.ClientConn, e error)
Get 返回 grpc client 客戶端
func InitAndGet ¶
func InitAndGet(filename string) (client *grpc.ClientConn, e error)
InitAndGet 初始化配置 並返回 grpc client 客戶端
func NewToken ¶
func NewToken(safe bool, appkey string) credentials.PerRPCCredentials
NewToken 返回 一個 token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.