Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clockwork ¶
Clockwork is the main class used to communicate with the Clockwork API
func NewClockwork ¶
NewClockwork returns a new instance of the Clockwork client, using the given API key
func (*Clockwork) GetBalance ¶
GetBalance returns number of SMS credits available to the account associated with this Clockwork API key. Deprecated: Use the GetBalance function to return a cash balance
func (*Clockwork) GetCredit ¶
GetCredit returns the current cash balance and currency information for the account associated with this Clockwork API key.
func (*Clockwork) SendMultipleSMS ¶
func (clockwork *Clockwork) SendMultipleSMS(givenSMS []SMS) *MessageResponse
SendMultipleSMS sends an array of SMS messages
func (*Clockwork) SendSMS ¶
func (clockwork *Clockwork) SendSMS(givenSMS SMS) *MessageResponse
SendSMS sends a single SMS message
type InvalidCharacterAction ¶
type InvalidCharacterAction int
const ( AccountDefault InvalidCharacterAction = iota Error Remove Replace )
type MessageRequest ¶
type MessageResponse ¶
Click to show internal directories.
Click to hide internal directories.