Documentation
¶
Index ¶
- func Delete[T any](c *Client, path string, opts ...Opt) (*T, error)
- func Get[T any](c *Client, path string, opts ...Opt) (*T, error)
- func GetHeaderMap(header string) map[string]string
- func Post[T any](c *Client, path string, body any, opts ...Opt) (*T, error)
- func Put[T any](c *Client, path string, body any, opts ...Opt) (*T, error)
- type Client
- type Ctx
- type Header
- type Opt
- type Query
- type ReqOpt
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHeaderMap ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetTransport ¶
Click to show internal directories.
Click to hide internal directories.