Documentation
¶
Index ¶
- func Do[K, V any](ctx context.Context, d Doer, body *K, response *V) error
- type Client
- type Config
- type Doer
- type Logger
- type Request
- func (r Request) Do(req *http.Request) (*http.Response, error)
- func (r Request) Header() map[string]string
- func (r Request) Logger() Logger
- func (r Request) Method() string
- func (r Request) RequestURI() string
- func (r *Request) SetHeader(m map[string]string)
- func (r Request) Token() string
- func (r *Request) UnmarshalBody(res *http.Response, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct { Path string // contains filtered or unexported fields }
func (Request) RequestURI ¶
Click to show internal directories.
Click to hide internal directories.