clientpkg

package
v0.2.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

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

func NewHTTPClient(ctx context.Context, opts ...http.ClientOption) (*http.Client, error)

NewHTTPClient ...

func NewSampleHTTPClient

func NewSampleHTTPClient(ctx context.Context, endpoint string, opts ...http.ClientOption) (*http.Client, error)

NewSampleHTTPClient ...

func ResponseDecoder

func ResponseDecoder(ctx context.Context, res *stdhttp.Response, v interface{}) error

ResponseDecoder http.DefaultResponseDecoder

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL