smsmkt

package module
v0.0.0-...-c841423 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

smsmkt

Simple Send SMS Library With SMSMKT.COM

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSMKT

type SMSMKT struct {
	APIKey    string
	SecretKey string
}

SMSMKT is

func Factory

func Factory(txtAPIKey string, txtSecretKey string) *SMSMKT

Factory is create smsmkt object from api and secret key

func New

func New(txtAPIKey string, txtSecretKey string) *SMSMKT

New is create smsmkt object from api and secret key

func (*SMSMKT) GetCredit

func (me *SMSMKT) GetCredit() (*jsons.JSONObject, error)

GetCredit is get balance of credit

func (*SMSMKT) Send

func (me *SMSMKT) Send(txtSenderName string, txtPhone string, txtMessage string) (*jsons.JSONObject, error)

Send is send sms

Jump to

Keyboard shortcuts

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