Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djun/wechatbot
/ functions
Functions
14 in github.com/djun/wechatbot
⨍
Functions
14
◇
Types & classes
8
↓ 4 callers
Method
ReplyText
(*openwechat.Message)
handlers/handler.go:12
↓ 2 callers
Function
Completions
Completions gtp文本模型回复 curl https://api.openai.com/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer your chatGPT key" -d '{
gtp/gtp.go:43
↓ 2 callers
Function
LoadConfig
LoadConfig 加载配置
config/config.go:22
↓ 2 callers
Method
handle
(*openwechat.Message)
handlers/handler.go:11
↓ 1 callers
Function
NewGroupMessageHandler
NewGroupMessageHandler 创建群消息处理器
handlers/group_msg_handler.go:25
↓ 1 callers
Function
NewUserMessageHandler
NewUserMessageHandler 创建私聊处理器
handlers/user_msg_handler.go:25
↓ 1 callers
Method
ReplyText
ReplyText 发送文本消息到群
handlers/group_msg_handler.go:30
↓ 1 callers
Method
ReplyText
ReplyText 发送文本消息到群
handlers/user_msg_handler.go:30
↓ 1 callers
Function
Run
()
bootstrap/bootstrap.go:11
Function
Handler
Handler 全局处理入口
handlers/handler.go:32
Method
handle
handle 处理消息
handlers/group_msg_handler.go:17
Method
handle
handle 处理消息
handlers/user_msg_handler.go:17
Function
init
()
handlers/handler.go:25
Function
main
()
main.go:7