Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMSManClient ¶
type SMSManClient struct { ApiKey string HttpClient tls_client.HttpClient }
func NewSMSManClient ¶
func NewSMSManClient(apiKey string) (SMSManClient, error)
func (*SMSManClient) Balance ¶
func (sm *SMSManClient) Balance() (float64, error)
func (*SMSManClient) GetOTPCode ¶
func (sm *SMSManClient) GetOTPCode(requestId string) (string, error)
func (*SMSManClient) PurchaseSMS ¶
func (sm *SMSManClient) PurchaseSMS() (string, string, error)
func (*SMSManClient) RefundNumber ¶
func (sp *SMSManClient) RefundNumber(requestId string) (bool, error)
Click to show internal directories.
Click to hide internal directories.