daisysms

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 DaisySMSClient

type DaisySMSClient struct {
	ApiKey     string
	HttpClient tls_client.HttpClient
}

func NewDaisySMSClient

func NewDaisySMSClient(apiKey string) (DaisySMSClient, error)

func (*DaisySMSClient) Balance

func (ds *DaisySMSClient) Balance() (float64, error)

func (*DaisySMSClient) GetOTPCode

func (ds *DaisySMSClient) GetOTPCode(requestId string) (string, error)

func (*DaisySMSClient) PurchaseSMS

func (ds *DaisySMSClient) PurchaseSMS() (string, string, error)

func (*DaisySMSClient) RefundNumber

func (ds *DaisySMSClient) RefundNumber(requestId string) (bool, error)

Jump to

Keyboard shortcuts

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