smspool

package
v0.0.0-...-154dcf8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL