module

package
v0.0.0-...-0b73d59 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Modules []Module

Functions

func Load

func Load(module Module)

func LoadModules

func LoadModules()

func UnloadPlugins

func UnloadPlugins()

Types

type Meta

type Meta struct {
	Name           string
	Routes         map[string]routing.Method
	DatabaseFields []interface{}
}

type Module

type Module interface {
	GetMeta() *Meta
	OnModuleInit()
	OnModuleRemove()
}

Jump to

Keyboard shortcuts

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