Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client describes a new Tide API client.
func (*Client) Authenticate ¶
Authenticate creates a call to a Tide API instance and attempts to authenticate a user.
func (Client) SendPayload ¶
SendPayload sends authenticated requests to a Tide API instance.
`method` is POST or GET for Tide API. `endpoint` is the particular Tide endpoint to send the payload to. `token` is the Auth.AccessToken of an authenticated user object. `data` is a JSON encoded string to send with the payload (or empty).
Click to show internal directories.
Click to hide internal directories.