Documentation ¶
Index ¶
Constants ¶
View Source
const DailTimeout = 3 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Cli interface{} // contains filtered or unexported fields }
func NewClient ¶
func NewClient(c RpcClientConf, f func(*grpc.ClientConn) interface{}, opts ...Option) *Client
type Option ¶
type Option func(options *Options)
func WithBuilder ¶
func WithMiddleware ¶
func WithMiddleware(interceptor grpc.UnaryClientInterceptor) Option
func WithTimeout ¶
type RpcClientConf ¶
Click to show internal directories.
Click to hide internal directories.