Documentation ¶
Index ¶
Constants ¶
View Source
const (
OUT = "out"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
type Sender ¶
type Sender interface { Start() error Send(id uint32, sender, phone, text string) error BindSubmitSmResponseHandler(handler func(id, status uint32, smscId string)) BindDeliverSmHandler(handler func(smscId string, status string)) }
func NewSender ¶
func NewSender(smppClient SmppClient) Sender
type SmppClient ¶
type SmppClient interface { Connect() error Disconnect() Reconnect() error IsConnected() bool SendMessage(id uint32, from, phone, text string) error BindSubmitSmResponseHandler(handler func(id, status uint32, smscId string)) BindDeliverSmHandler(handler func(smscId string, status string)) ReadPacket() error }
type TransceiverWrapper ¶
Click to show internal directories.
Click to hide internal directories.