Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Key string ZapLog *zap.Logger // 日志服务 Db *gorm.DB // 关系数据库服务 RDb *redis.Client // 缓存数据库服务 MDb *mongo.Client // 非关系数据库服务 }
func (*App) NewParamsWith ¶
func (*App) WebhookSend ¶
func (app *App) WebhookSend(notMustParams ...Params) *WebhookSendResult
WebhookSend https://work.weixin.qq.com/api/doc/90000/90136/91770
type WebhookSendResponse ¶
type WebhookSendResult ¶
type WebhookSendResult struct { Result WebhookSendResponse // 结果 Body []byte // 内容 Err error // 错误 }
func NewWebhookSendResult ¶
func NewWebhookSendResult(result WebhookSendResponse, body []byte, err error) *WebhookSendResult
Click to show internal directories.
Click to hide internal directories.