Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
eatmoreapple committed Jan 5, 2023
1 parent 00e99ed commit b509a11
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ func (b *Bot) Login() error {
return b.login(scanLogin)
}

// HotLogin 热登录,可实现重复登录,
// retry设置为true可在热登录失效后进行普通登录行为
//
// Storage := NewJsonFileHotReloadStorage("Storage.json")
// err := bot.HotLogin(Storage, true)
// fmt.Println(err)
// HotLogin 热登录,可实现在单位时间内免重复扫码登录
func (b *Bot) HotLogin(storage HotReloadStorage, opts ...HotLoginOptionFunc) error {
hotLogin := &HotLogin{storage: storage}
for _, opt := range opts {
Expand Down

0 comments on commit b509a11

Please sign in to comment.