module

package
v0.0.0-...-22940ab Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModuleStart

func ModuleStart()

func ModuleStop

func ModuleStop()

func RegisterModule

func RegisterModule(m ModuleInterface, interval time.Duration)

Types

type ModuleEntity

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

type ModuleInterface

type ModuleInterface interface {
	Name() string
	Init() bool
	Update() bool
	End() bool
}

type ModuleManager

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

Jump to

Keyboard shortcuts

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