b2x

package
v0.0.0-...-7160da7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BucketKeyID string `yaml:"bucketKeyId" mapstructure:"bucketKeyId"`
	BucketKey   string `yaml:"bucketKey" mapstructure:"bucketKey"`
	BucketName  string `yaml:"bucketName" mapstructure:"bucketName"`
}

type Mod

type Mod struct {
	kernel.UnimplementedModule // 请为所有Module引入UnimplementedModule
	// contains filtered or unexported fields
}

func (*Mod) Config

func (m *Mod) Config() any

func (*Mod) Init

func (m *Mod) Init(hub *kernel.Hub) error

func (*Mod) Name

func (m *Mod) Name() string

func (*Mod) PreInit

func (m *Mod) PreInit(hub *kernel.Hub) error

func (*Mod) Stop

func (m *Mod) Stop(wg *sync.WaitGroup, _ context.Context) error

Jump to

Keyboard shortcuts

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