Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewServer, NewClient, NewClientOptions)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Dial ¶
func (c *Client) Dial(service string, options ...ClientOptional) (*grpc.ClientConn, error)
type ClientOptional ¶
type ClientOptional func(o *ClientOptions)
type ClientOptions ¶
type ClientOptions struct { Wait time.Duration Tag string GrpcDialOptions []grpc.DialOption }
func NewClientOptions ¶
func NewClientOptions(tracer opentracing.Tracer) (*ClientOptions, error)
type InitServer ¶
Click to show internal directories.
Click to hide internal directories.