Documentation ¶
Index ¶
- func NewErrorResponse(resp *http.Response) error
- func WithAuthCheck() func(c *Client) error
- func WithHTTPClient(httpClient HTTPClient) func(c *Client) error
- func WithHTTPRequester(httpRequester HTTPRequester) func(c *Client) error
- type Client
- type ErrorResponse
- type HTTPClient
- type HTTPRequester
- type HTTPWrapper
- type Media
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorResponse ¶
func WithAuthCheck ¶
func WithHTTPClient ¶
func WithHTTPClient(httpClient HTTPClient) func(c *Client) error
func WithHTTPRequester ¶
func WithHTTPRequester(httpRequester HTTPRequester) func(c *Client) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) GetAllowedExtensions ¶
type ErrorResponse ¶
type ErrorResponse struct {
// contains filtered or unexported fields
}
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
type HTTPRequester ¶
type HTTPWrapper ¶
type HTTPWrapper struct{}
func NewHTTPWrapper ¶
func NewHTTPWrapper() HTTPWrapper
func (HTTPWrapper) NewRequest ¶
Click to show internal directories.
Click to hide internal directories.