Documentation ¶
Index ¶
- func Delete(c *Client, endpoint, accept, module string) (string, error)
- func Get[T any](c *Client, endpoint, accept, module string) (*T, error)
- func GetWithETag[T any](c *Client, endpoint, accept, module string) (*T, string, error)
- func Post[P any, R any](c *Client, payload *P, endpoint string, accept string, module string) (*R, error)
- func Put[P any, R any](c *Client, payload *P, eTag, endpoint, accept, module string) (*R, error)
- type AuthType
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWithETag ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.