Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eatmoreapple/openwechat
/ Context
Method
Context
bot.go:407–409 ·
view source on GitHub ↗
Context returns current context of bot
()
Source
from the content-addressed store, hash-verified
405
406
// Context returns current context of bot
407
func
(b *Bot) Context() context.Context {
408
return
b.context
409
}
410
411
// NewBot Bot的构造方法
412
// 接收外部的 context.Context,用于控制Bot的存活
Callers
15
Logout
Method · 0.95
loginFromURL
Method · 0.95
initUserInfo
Method · 0.95
notifyMobileClient
Method · 0.95
doSyncCheck
Method · 0.95
syncMessage
Method · 0.95
Block
Method · 0.95
Login
Method · 0.45
Login
Method · 0.45
CheckLogin
Method · 0.45
TestGetUUID
Function · 0.45
GetAvatarResponse
Method · 0.45
Calls
no outgoing calls
Tested by
1
TestGetUUID
Function · 0.36