Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client for rpc.
type ClientOption ¶ added in v1.260.0
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption for rpc.
func WithClientContentType ¶ added in v1.260.0
func WithClientContentType(ct string) ClientOption
WithClientContentType for rpc.
func WithClientRoundTripper ¶ added in v1.264.0
func WithClientRoundTripper(rt http.RoundTripper) ClientOption
WithSenderRoundTripper for rpc.
func WithClientTimeout ¶ added in v1.264.0
func WithClientTimeout(timeout string) ClientOption
WithClientTimeout for rpc.
Click to show internal directories.
Click to hide internal directories.