reconnect

package
v0.0.0-...-a0ccaba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReconnectID = "reconnect" // ID

)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconnectBot

type ReconnectBot struct{}

负责重连帐号的bot

func (*ReconnectBot) Init

func (b *ReconnectBot) Init()

func (*ReconnectBot) MiraiGoModule

func (b *ReconnectBot) MiraiGoModule() bot.ModuleInfo

func (*ReconnectBot) PostInit

func (b *ReconnectBot) PostInit()

func (*ReconnectBot) Serve

func (b *ReconnectBot) Serve(bot *bot.Bot)

func (*ReconnectBot) Start

func (b *ReconnectBot) Start(bot *bot.Bot)

func (*ReconnectBot) Stop

func (b *ReconnectBot) Stop(bot *bot.Bot, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL