Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SmsPrefix . SmsPrefix = "【哔哩哔哩】" // SmsSuffix . SmsSuffix = " 回TD退订" // SmsSuffixChuangLan . SmsSuffixChuangLan = " 退订回T" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentRing ¶
ConcurrentRing thread-safe ring
type Message ¶
type Message struct { Action string `json:"action"` Table string `json:"table"` New json.RawMessage `json:"new"` Old json.RawMessage `json:"old"` }
Message .
type Provider ¶
type Provider interface { // SendSms send sms GetPid() int32 // SendSms send sms SendSms(context.Context, *smsmdl.ModelSend) (string, error) // SendActSms send act sms SendActSms(context.Context, *smsmdl.ModelSend) (string, error) // SendBatchActSms send batch act sms SendBatchActSms(context.Context, *smsmdl.ModelSend) (string, error) // SendInternationalSms send international sms SendInternationalSms(context.Context, *smsmdl.ModelSend) (string, error) }
Provider service provider
type UserMobile ¶
UserMobile .
Click to show internal directories.
Click to hide internal directories.