Skip to main content

bot

成员函数函数描述/介绍
bot.FromEnv
bot.New
bot.ding
bot.webhook
bot.webhookWithSecret
bot.workwx

函数定义#

FromEnv#

详细描述#

定义#

FromEnv() *Client

返回值#

返回值(顺序)返回值类型返回值解释
r1*Client

New#

详细描述#

定义#

New(opts ...ConfigOpt) *Client

参数#

参数名参数类型参数解释
opts...ConfigOpt

返回值#

返回值(顺序)返回值类型返回值解释
r1*Client

ding#

详细描述#

定义#

ding(webhook string, key string) ConfigOpt

参数#

参数名参数类型参数解释
webhookstring
keystring

返回值#

返回值(顺序)返回值类型返回值解释
r1ConfigOpt

webhook#

详细描述#

定义#

webhook(webhook string) ConfigOpt

参数#

参数名参数类型参数解释
webhookstring

返回值#

返回值(顺序)返回值类型返回值解释
r1ConfigOpt

webhookWithSecret#

详细描述#

定义#

webhookWithSecret(webhook string, key string) ConfigOpt

参数#

参数名参数类型参数解释
webhookstring
keystring

返回值#

返回值(顺序)返回值类型返回值解释
r1ConfigOpt

workwx#

详细描述#

定义#

workwx(webhook string) ConfigOpt

参数#

参数名参数类型参数解释
webhookstring

返回值#

返回值(顺序)返回值类型返回值解释
r1ConfigOpt