Documentation ¶
Index ¶
- type ExampleOfficialAccount
- func (ex *ExampleOfficialAccount) ClearQuota(c *gin.Context)
- func (ex *ExampleOfficialAccount) GetAPIDomainIP(c *gin.Context)
- func (ex *ExampleOfficialAccount) GetAccessToken(c *gin.Context)
- func (ex *ExampleOfficialAccount) GetCallbackIP(c *gin.Context)
- func (ex *ExampleOfficialAccount) Serve(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleOfficialAccount ¶
type ExampleOfficialAccount struct {
// contains filtered or unexported fields
}
ExampleOfficialAccount 公众号操作样例
func NewExampleOfficialAccount ¶
func NewExampleOfficialAccount(wc *wechat.Wechat) *ExampleOfficialAccount
ExampleOfficialAccount new
func (*ExampleOfficialAccount) ClearQuota ¶
func (ex *ExampleOfficialAccount) ClearQuota(c *gin.Context)
GetAPIDomainIP 清理接口调用次数
func (*ExampleOfficialAccount) GetAPIDomainIP ¶
func (ex *ExampleOfficialAccount) GetAPIDomainIP(c *gin.Context)
GetAPIDomainIP 获取微信callback IP地址
func (*ExampleOfficialAccount) GetAccessToken ¶
func (ex *ExampleOfficialAccount) GetAccessToken(c *gin.Context)
GetAccessToken 获取ak
func (*ExampleOfficialAccount) GetCallbackIP ¶
func (ex *ExampleOfficialAccount) GetCallbackIP(c *gin.Context)
GetCallbackIP 获取微信callback IP地址
func (*ExampleOfficialAccount) Serve ¶
func (ex *ExampleOfficialAccount) Serve(c *gin.Context)
Serve 处理消息
Click to show internal directories.
Click to hide internal directories.