client

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2018 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.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.

Jump to

Keyboard shortcuts

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