client

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(cnf *configure.Service) (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.

Jump to

Keyboard shortcuts

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