Documentation
¶
Index ¶
- type Session
- func (s Session) CancelActivation(activationID int) error
- func (s Session) CompleteActivation(activationID int) error
- func (s Session) GetBalance() (float64, error)
- func (s Session) GetNumber(serviceCode string, countryCode int) (int, int, error)
- func (s Session) GetStatus(activationID int) (string, int, error)
- func (s Session) RequestAnotherCode(activationID int) error
- func (s Session) SetStatus(activationID, statusCode int) error
- func (s Session) StartListeningForSMS(activationID int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
Endpoint string `json:"endpoint"`
ApiKey string `json:"api_key"`
Referral string `json:"referral"`
}
func (Session) CancelActivation ¶
func (Session) CompleteActivation ¶
func (Session) GetBalance ¶
func (Session) RequestAnotherCode ¶
func (Session) StartListeningForSMS ¶
Click to show internal directories.
Click to hide internal directories.