Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHTTPClient = &http.Client{ Timeout: time.Second * 10, }
View Source
var WithDefaultHeaders = func(headers map[string][]string) Option { return func(c *Client) { c.defaultHeaders = headers } }
View Source
var WithHTTPClient = func(client *http.Client) Option { return func(c *Client) { c.client = client } }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Users *usersResource Entries *entriesResource // contains filtered or unexported fields }
type CreateEntryRequest ¶
type CreateEntryResponse ¶
type CreateUserRequest ¶
type CreateUserResponse ¶
type LoginResponseModel ¶
Click to show internal directories.
Click to hide internal directories.