Documentation ¶
Overview ¶
Package supinic contains a client for the Supinic API. https://supinic.com/api/
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 is a Supinic API client.
func NewClientForTesting ¶
NewClientForTesting creates a new Client for testing.
func (*Client) StartPinging ¶
StartPinging starts a background task to ping the Supinic API regularly to make sure the API knows the bot is still online. This function blocks and should be run within a goroutine.
Directories ¶
Path | Synopsis |
---|---|
Package ivrtest provides helpers for testing connections to the Supinic API.
|
Package ivrtest provides helpers for testing connections to the Supinic API. |
Click to show internal directories.
Click to hide internal directories.