SYMBOL INDEX (103 symbols across 12 files) FILE: app.go function init (line 14) | func init() { function main (line 19) | func main() { FILE: bot/bot.go type Bot (line 26) | type Bot struct function Init (line 40) | func Init() { type InitOption (line 45) | type InitOption struct function InitWithOption (line 51) | func InitWithOption(option InitOption) error { function InitWithDeviceJSONContent (line 69) | func InitWithDeviceJSONContent(deviceJSONContent []byte) { function InitBot (line 83) | func InitBot(account int64, password string) { function UseDevice (line 91) | func UseDevice(device []byte) error { function GenRandomDevice (line 102) | func GenRandomDevice() { function SaveToken (line 116) | func SaveToken() { type LoginMethod (line 121) | type LoginMethod constant LoginMethodToken (line 124) | LoginMethodToken = "token" constant LoginMethodQRCode (line 125) | LoginMethodQRCode = "qrcode" constant LoginMethodCommon (line 126) | LoginMethodCommon = "common" function Login (line 130) | func Login() error { type LoginOption (line 150) | type LoginOption struct function LoginWithOption (line 156) | func LoginWithOption(option LoginOption) error { function CommonLogin (line 194) | func CommonLogin() error { function QrcodeLogin (line 203) | func QrcodeLogin() error { function readLine (line 260) | func readLine() (str string) { function readLineTimeout (line 266) | func readLineTimeout(t time.Duration, de string) (str string) { function loginResponseProcessor (line 283) | func loginResponseProcessor(res *client.LoginResponse) error { function RefreshList (line 358) | func RefreshList() { function StartService (line 376) | func StartService() { function Stop (line 407) | func Stop() { FILE: bot/event.go method OnPrivateMessage (line 11) | func (bot *Bot) OnPrivateMessage(f func(qqClient *client.QQClient, event... method OnPrivateMessageF (line 16) | func (bot *Bot) OnPrivateMessageF(filter func(*message.PrivateMessage) b... method OnTempMessage (line 25) | func (bot *Bot) OnTempMessage(f func(qqClient *client.QQClient, event *c... method OnGroupMessage (line 30) | func (bot *Bot) OnGroupMessage(f func(qqClient *client.QQClient, event *... method OnSelfPrivateMessage (line 35) | func (bot *Bot) OnSelfPrivateMessage(f func(qqClient *client.QQClient, e... method OnSelfGroupMessage (line 40) | func (bot *Bot) OnSelfGroupMessage(f func(qqClient *client.QQClient, eve... method OnGroupMuted (line 45) | func (bot *Bot) OnGroupMuted(f func(qqClient *client.QQClient, event *cl... method OnGroupMessageRecalled (line 50) | func (bot *Bot) OnGroupMessageRecalled(f func(qqClient *client.QQClient,... method OnFriendMessageRecalled (line 55) | func (bot *Bot) OnFriendMessageRecalled(f func(qqClient *client.QQClient... method OnGroupJoin (line 60) | func (bot *Bot) OnGroupJoin(f func(qqClient *client.QQClient, event *cli... method OnGroupLeave (line 65) | func (bot *Bot) OnGroupLeave(f func(qqClient *client.QQClient, event *cl... method OnGroupMemberJoin (line 70) | func (bot *Bot) OnGroupMemberJoin(f func(qqClient *client.QQClient, even... method OnGroupMemberLeave (line 75) | func (bot *Bot) OnGroupMemberLeave(f func(qqClient *client.QQClient, eve... method OnMemberCardUpdated (line 80) | func (bot *Bot) OnMemberCardUpdated(f func(qqClient *client.QQClient, ev... method OnGroupNameUpdated (line 85) | func (bot *Bot) OnGroupNameUpdated(f func(qqClient *client.QQClient, eve... method OnGroupMemberPermissionChanged (line 90) | func (bot *Bot) OnGroupMemberPermissionChanged(f func(qqClient *client.Q... method OnGroupInvited (line 95) | func (bot *Bot) OnGroupInvited(f func(qqClient *client.QQClient, event *... method OnUserWantJoinGroup (line 100) | func (bot *Bot) OnUserWantJoinGroup(f func(qqClient *client.QQClient, ev... method OnNewFriend (line 105) | func (bot *Bot) OnNewFriend(f func(qqClient *client.QQClient, event *cli... method OnNewFriendRequest (line 110) | func (bot *Bot) OnNewFriendRequest(f func(qqClient *client.QQClient, eve... method OnDisconnected (line 115) | func (bot *Bot) OnDisconnected(f func(qqClient *client.QQClient, event *... method OnGroupNotify (line 120) | func (bot *Bot) OnGroupNotify(f func(qqClient *client.QQClient, event cl... method OnFriendNotify (line 125) | func (bot *Bot) OnFriendNotify(f func(qqClient *client.QQClient, event c... method OnMemberSpecialTitleUpdated (line 130) | func (bot *Bot) OnMemberSpecialTitleUpdated(f func(qqClient *client.QQCl... method OnGroupDigest (line 135) | func (bot *Bot) OnGroupDigest(f func(qqClient *client.QQClient, event *c... method OnOtherClientStatusChanged (line 140) | func (bot *Bot) OnOtherClientStatusChanged(f func(qqClient *client.QQCli... method OnOfflineFile (line 145) | func (bot *Bot) OnOfflineFile(f func(qqClient *client.QQClient, event *c... FILE: bot/module.go type Module (line 10) | type Module interface function RegisterModule (line 43) | func RegisterModule(instance Module) { function GetModule (line 66) | func GetModule(name string) (ModuleInfo, error) { FILE: bot/moduleid.go type ModuleID (line 9) | type ModuleID method Namespace (line 12) | func (id ModuleID) Namespace() string { method Name (line 21) | func (id ModuleID) Name() string { FILE: bot/moduleinfo.go type ModuleInfo (line 4) | type ModuleInfo struct method String (line 13) | func (mi ModuleInfo) String() string { FILE: bot/protocol.go type protocol (line 5) | type protocol constant AndroidPhone (line 8) | AndroidPhone = protocol(client.AndroidPhone) constant IPad (line 9) | IPad = protocol(client.IPad) constant AndroidWatch (line 10) | AndroidWatch = protocol(client.AndroidWatch) constant MacOS (line 11) | MacOS = protocol(client.MacOS) function UseProtocol (line 17) | func UseProtocol(p protocol) { FILE: cmd/lib/lib.go function init (line 10) | func init() { function InitBot (line 14) | func InitBot(configJSONContent string, deviceJSONContent string) { FILE: config/config.go type Config (line 9) | type Config struct function Init (line 17) | func Init() { function InitWithContent (line 32) | func InitWithContent(configJSONContent []byte) { FILE: modules/logging/log.go function init (line 13) | func init() { type logging (line 18) | type logging struct method MiraiGoModule (line 21) | func (m *logging) MiraiGoModule() bot.ModuleInfo { method Init (line 28) | func (m *logging) Init() { method PostInit (line 34) | func (m *logging) PostInit() { method Serve (line 40) | func (m *logging) Serve(b *bot.Bot) { method Start (line 45) | func (m *logging) Start(b *bot.Bot) { method Stop (line 55) | func (m *logging) Stop(b *bot.Bot, wg *sync.WaitGroup) { function logGroupMessage (line 68) | func logGroupMessage(msg *message.GroupMessage) { function logPrivateMessage (line 78) | func logPrivateMessage(msg *message.PrivateMessage) { function logFriendMessageRecallEvent (line 88) | func logFriendMessageRecallEvent(event *client.FriendMessageRecalledEven... function logGroupMessageRecallEvent (line 96) | func logGroupMessageRecallEvent(event *client.GroupMessageRecalledEvent) { function logGroupMuteEvent (line 106) | func logGroupMuteEvent(event *client.GroupMuteEvent) { function logDisconnect (line 116) | func logDisconnect(event *client.ClientDisconnectedEvent) { function registerLog (line 123) | func registerLog(b *bot.Bot) { FILE: utils/fs.go function ReadFile (line 11) | func ReadFile(path string) []byte { function FileExist (line 21) | func FileExist(path string) (bool, error) { FILE: utils/log.go type LogArg (line 13) | type LogArg constant LogFatalLevel (line 16) | LogFatalLevel = LogArg(logrus.FatalLevel) constant LogErrorLevel (line 17) | LogErrorLevel = LogArg(logrus.ErrorLevel) constant LogWarnLevel (line 18) | LogWarnLevel = LogArg(logrus.WarnLevel) constant LogInfoLevel (line 19) | LogInfoLevel = LogArg(logrus.InfoLevel) constant LogDebugLevel (line 20) | LogDebugLevel = LogArg(logrus.DebugLevel) constant LogTraceLevel (line 21) | LogTraceLevel = LogArg(logrus.TraceLevel) constant logLevelMask (line 22) | logLevelMask LogArg = 0x07 constant LogWithStack (line 23) | LogWithStack LogArg = 0x08 function GetModuleLogger (line 30) | func GetModuleLogger(name string) logrus.FieldLogger { function WriteLogToFS (line 42) | func WriteLogToFS(args ...LogArg) { function WriteLogToPath (line 50) | func WriteLogToPath(p string, args ...LogArg) { type errorEntryWithStack (line 100) | type errorEntryWithStack struct method WithError (line 104) | func (e *errorEntryWithStack) WithError(err error) *logrus.Entry {