Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CtxTimeout ¶
CtxTimeout : 设置请求超时时间
Types ¶
type Client ¶
Client : .
func (*Client) NewConn ¶
func (c *Client) NewConn(cfg *config.Config, dos ...grpc.DialOption) *grpc.ClientConn
NewConn : 和服务端建立连接
type Engine ¶
type Engine struct { Service // contains filtered or unexported fields }
Engine : 服务引擎
Click to show internal directories.
Click to hide internal directories.