Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
func HealthCheck(srv string, conn grpc.ClientConnInterface) error
func WithDial ¶ added in v0.2.0
func WithDial(fn func(srv string, cfg grpcc_config.Cfg) (grpc.ClientConnInterface, error)) func(cli *Client)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Get ¶
func (t *Client) Get() (_ grpc.ClientConnInterface, gErr error)
Get new grpc Client
func (*Client) NewStream ¶
func (t *Client) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
Click to show internal directories.
Click to hide internal directories.