Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client gRPC客户端封装
func (*Client) Connection ¶
func (c *Client) Connection(name string) *grpc.ClientConn
type EndpointHandler ¶ added in v0.2.0
type EndpointHandler func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
EndpointHandler 端点注册方法
type EndpointHandlers ¶ added in v0.2.1
type EndpointHandlers []EndpointHandler
EndpointHandlers 端点注册接口组
Source Files
¶
Click to show internal directories.
Click to hide internal directories.