Documentation
¶
Overview ¶
The yo package provides an api client for the Yo app api, with methods to send Yo's to users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var YO_API = "http://api.justyo.co"
Yo API endpoint.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Token string
}
Yo API Client.
func (*Client) YoAll ¶
Sends a "Yo" to all users who subscribe to the active account. Expects a 201 response.
func (*Client) YoAllLink ¶
YoAllLink sends a "Yo" to all subscribed users of the API account with the link specified.
func (*Client) YoUser ¶
Sends a "Yo" to the specified user (who must subscribe) to the active account. Expects a 201 response.
func (*Client) YoUserLink ¶
YoUserLink sends a "Yo" to the specified user (who must subscribe) with a link to the active account. Expects a 201 response.
Click to show internal directories.
Click to hide internal directories.