smsman

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: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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