Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOption ¶
func (*ClientOption) WithContentType ¶
func (o *ClientOption) WithContentType(contentType string) ClientOptionFunc
WithContentType set content type
func (*ClientOption) WithHeaders ¶
func (o *ClientOption) WithHeaders(headers map[string]string) ClientOptionFunc
WithHeaders set headers
func (*ClientOption) WithTransport ¶
func (o *ClientOption) WithTransport(transport *http.Transport) ClientOptionFunc
WithTransport set transport
type ClientOptionFunc ¶
type ClientOptionFunc func(option *ClientOption)
Click to show internal directories.
Click to hide internal directories.