Documentation
¶
Index ¶
- type Base
- type Config
- type Gateway
- type Message
- func (m *Message) GetContent() string
- func (m *Message) GetData() map[string]interface{}
- func (m *Message) GetTemplate() string
- func (m *Message) SetContent(content string) *Message
- func (m *Message) SetData(data map[string]interface{}) *Message
- func (m *Message) SetTemplate(template string) *Message
- type MessageFunc
- type Phone
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) ParseMessage ¶
func (*Base) ParsePhone ¶
type Message ¶
func NewMessage ¶
func (*Message) GetContent ¶
func (*Message) GetTemplate ¶
func (*Message) SetContent ¶
func (*Message) SetTemplate ¶
type MessageFunc ¶
type Phone ¶
func (*Phone) GetFullNumber ¶
func (*Phone) GetIddCode ¶
func (*Phone) GetPhoneNumber ¶
type Response ¶
type Response struct {
*resty.Response
}
func NewResponse ¶
func NewResponse(resp *resty.Response) *Response
func (*Response) GetStatusCode ¶
func (*Response) IsSuccessful ¶
Click to show internal directories.
Click to hide internal directories.