modules

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimerModule = func() app.IModule {
	Timer := new(Timer)
	return Timer
}

Functions

This section is empty.

Types

type Timer

type Timer struct {
	app.IModule
}

定时器模块(会被自动内置到框架中运行)

func (*Timer) GetType

func (m *Timer) GetType() string

func (*Timer) OnDestroy

func (m *Timer) OnDestroy()

func (*Timer) OnInit

func (m *Timer) OnInit(settings *conf.ModuleSettings)

func (*Timer) Run

func (m *Timer) Run(closeSig chan bool)

func (*Timer) Version

func (m *Timer) Version() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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