Documentation ¶
Index ¶
Constants ¶
View Source
const ( GRPC string = "grpc" HTTP string = "http" )
Variables ¶
This section is empty.
Functions ¶
func NewGRPCConn ¶
func NewGRPCConn(addr string, opts *Options) (*grpc.ClientConn, error)
func NewHTTPClient ¶
Types ¶
type Option ¶
type Option func(opts *Options)
func HeaderOption ¶
func TLSConfigOption ¶
func TimeoutOption ¶
func TokenOption ¶
Click to show internal directories.
Click to hide internal directories.