module

package
v0.0.0-...-3596c24 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMod

type BaseMod struct {
	// contains filtered or unexported fields
}

func (*BaseMod) Hand

func (b *BaseMod) Hand(msg message.Message, opt ...Option) error

func (*BaseMod) IsOpen

func (b *BaseMod) IsOpen() bool

func (*BaseMod) Open

func (b *BaseMod) Open() error

func (*BaseMod) Stop

func (b *BaseMod) Stop() error

type Mod

type Mod interface {
	Hand(msg message.Message, opt ...Option) error
	Open() error
	Stop() error
}

Mod 模块化

type Option

type Option func()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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