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