smss

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorRepSt

type ErrorRepSt struct {
	ErrorCode string `json:"error_code"`
}

type SendRepSt

type SendRepSt struct {
	ID string `json:"id"`
}

type SendReqSt

type SendReqSt struct {
	To   string `json:"to"`
	Text string `json:"text"`
	Sync bool   `json:"sync"`
}

type St

type St struct {
	// contains filtered or unexported fields
}

func New

func New(httpc httpc.HttpC) *St

func (*St) Send

func (s *St) Send(phone string, msg string) bool

func (*St) SendAsync

func (s *St) SendAsync(phone string, msg string) bool

Jump to

Keyboard shortcuts

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