Documentation
¶
Index ¶
- func Do(method Method, target string, opts ...Option) ([]byte, error)
- type Config
- type Method
- type Option
- func WithBody(body []byte) Option
- func WithClient(client *http.Client) Option
- func WithContext(ctx context.Context) Option
- func WithHeader(header map[string]string) Option
- func WithLogger(Logger log.Logger) Option
- func WithQuery(query map[string]string) Option
- func WithRetry(retry int) Option
- func WithUniqueId(uniqueId string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithClient ¶
func WithContext ¶
func WithHeader ¶ added in v0.0.20
func WithLogger ¶ added in v0.0.17
func WithUniqueId ¶ added in v0.0.29
Click to show internal directories.
Click to hide internal directories.