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
}
func (*Client) Dial ¶
func (c *Client) Dial(service string, options ...ClientOptional) (*grpc.ClientConn, error)
type ClientOptional ¶
type ClientOptional func(o *ClientOptions)
func WithTag ¶
func WithTag(tag string) ClientOptional
func WithTimeout ¶
func WithTimeout(d time.Duration) ClientOptional
type ClientOptions ¶
type ClientOptions struct { Wait time.Duration Tag string GrpcDialOptions []grpc.DialOption }
func NewClientOptions ¶
func NewClientOptions(v *viper.Viper, tracer opentracing.Tracer) (*ClientOptions, error)
type InitServers ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Application ¶
type ServerOptions ¶
func NewServerOptions ¶
func NewServerOptions(v *viper.Viper) (*ServerOptions, error)
Click to show internal directories.
Click to hide internal directories.