Documentation ¶
Index ¶
- func NewGRPCClient(ctx context.Context, insecure bool, opts ...grpc.ClientOption) (*stdgrpc.ClientConn, error)
- func NewHTTPClient(ctx context.Context, opts ...http.ClientOption) (*http.Client, error)
- func NewSampleHTTPClient(ctx context.Context, endpoint string, opts ...http.ClientOption) (*http.Client, error)
- func ResponseDecoder(ctx context.Context, res *stdhttp.Response, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCClient ¶
func NewGRPCClient(ctx context.Context, insecure bool, opts ...grpc.ClientOption) (*stdgrpc.ClientConn, error)
NewGRPCClient ...
func NewHTTPClient ¶
NewHTTPClient ...
func NewSampleHTTPClient ¶
func NewSampleHTTPClient(ctx context.Context, endpoint string, opts ...http.ClientOption) (*http.Client, error)
NewSampleHTTPClient ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.