modules

package
v1.3.93-0...-ab5ed69 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

* 一定要记得在confin.json配置这个模块的参数,否则无法使用

Index

Constants

This section is empty.

Variables

View Source
var TimerModule = func() module.Module {
	Timer := new(Timer)
	return Timer
}

Functions

This section is empty.

Types

type Timer

type Timer struct {
	module.Module
}

func (*Timer) GetType

func (m *Timer) GetType() string

func (*Timer) OnDestroy

func (m *Timer) OnDestroy()

func (*Timer) OnInit

func (m *Timer) OnInit(app module.App, settings *conf.ModuleSettings)

func (*Timer) Run

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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