bouyguestelecom

package
v0.0.0-...-5cf53ff Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const NoSmsLeft = SmsLeft(0)

NoSmsLeft represents an exceeded count of SMS

Variables

This section is empty.

Functions

This section is empty.

Types

type SmsLeft

type SmsLeft int

SmsLeft is the amount of remaining SMS

func GetSmsLeft

func GetSmsLeft(lastname, login, pass string) (SmsLeft, error)

GetSmsLeft fetches the remaining number of SMS

func SendSms

func SendSms(lastname, login, pass string, msg string, to string) (SmsLeft, error)

SendSms sends msg to the specified recipients

func (SmsLeft) IsExceeded

func (smsLeft SmsLeft) IsExceeded() bool

IsExceeded returns true when there is no remaining SMS

Jump to

Keyboard shortcuts

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