template

package
v1.6.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stop

func Stop() error

Stop stops the module.

Types

type Template

type Template struct {
	EventRecordAdded   *mgr.EventMgr[string]
	EventRecordDeleted *mgr.EventMgr[string]
	// contains filtered or unexported fields
}

Template showcases the usage of the module system.

func New

func New(instance instance) (*Template, error)

New returns a new template.

func (*Template) Manager

func (t *Template) Manager() *mgr.Manager

Manager returns the module manager.

func (*Template) Start

func (t *Template) Start() error

Start starts the module.

func (*Template) States

func (t *Template) States() *mgr.StateMgr

States returns the module states.

Jump to

Keyboard shortcuts

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