assets

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULEID   = "adminmenu"
	VERSION    = "0.0.1"
	DATASOURCE = "adminmenudatasource"
)

Variables

View Source
var Needs = []string{"base", "user"}

Functions

This section is empty.

Types

type ModuleEntries

type ModuleEntries struct {
	AddGroup  func(ds applications.Datasource, key string, name string) error
	GetGroup  func(ds applications.Datasource, key string) (*xdominion.XRecord, error)
	AddOption func(ds applications.Datasource, data *xdominion.XRecord) error
	GetOption func(ds applications.Datasource, key string) (*xdominion.XRecord, error)

	GetMenu func(ds applications.Datasource, group string, father string) (*xdominion.XRecords, error)
}

func GetEntries added in v0.0.16

func GetEntries(ctx *context.Context) *ModuleEntries

Jump to

Keyboard shortcuts

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