MCPcopy
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
407func (b *Bot) Context() context.Context {
408 return b.context
409}
410
411// NewBot Bot的构造方法
412// 接收外部的 context.Context,用于控制Bot的存活

Callers 15

LogoutMethod · 0.95
loginFromURLMethod · 0.95
initUserInfoMethod · 0.95
notifyMobileClientMethod · 0.95
doSyncCheckMethod · 0.95
syncMessageMethod · 0.95
BlockMethod · 0.95
LoginMethod · 0.45
LoginMethod · 0.45
CheckLoginMethod · 0.45
TestGetUUIDFunction · 0.45
GetAvatarResponseMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestGetUUIDFunction · 0.36