base

package
v1.6.28 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultAPIListenAddress = "127.0.0.1:817"
)

Default Values (changeable for testing).

View Source
var (
	DefaultDatabaseStorageType = "bbolt"
)

Default Values (changeable for testing).

Functions

This section is empty.

Types

type Base added in v1.6.19

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

Base is the base module.

func New added in v1.6.19

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

New returns a new Base module.

func (*Base) Manager added in v1.6.19

func (b *Base) Manager() *mgr.Manager

Manager returns the module manager.

func (*Base) Start added in v1.6.19

func (b *Base) Start() error

Start starts the module.

func (*Base) Stop added in v1.6.19

func (b *Base) Stop() error

Stop stops the module.

Jump to

Keyboard shortcuts

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