rds

package
v0.0.0-...-546d5fc Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 7 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 {
	Addr     string `yaml:"addr" mapstructure:"addr"`
	PORT     string `yaml:"port" mapstructure:"port"`
	Username string `yaml:"username" mapstructure:"username"`
	Password string `yaml:"password" mapstructure:"password"`
	DB       int    `yaml:"db" mapstructure:"db"`
}

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

Jump to

Keyboard shortcuts

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