adminmenu

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: 13 Imported by: 0

README

Go Report Card GoDoc GolangCI

xmodules/adminmenu for Xamboo - GO

The adminmenu package is used to build an administration menu for all purpose:

  • Each module install its administration apps into this menu
  • You can build your own menus

Version Changes Control

v0.0.1 - 2020-07-23

  • First release

Manual:

I. Admin menus

Intro


  1. Overview

Example:

import "github.com/webability-go/xmodules/adminmenu"


  1. Reference

To use the package:

import "github.com/webability-go/xmodules/adminmenu"

Documentation

Overview

Package user contains the list of administrative user for the system. All users have accesses, into a profile and even extended access based upon table records. It needs context xmodule.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGroup

func AddGroup(ds applications.Datasource, key string, name string) error

func AddOption

func AddOption(ds applications.Datasource, data *xdominion.XRecord) error

func GetGroup

func GetGroup(ds applications.Datasource, key string) (*xdominion.XRecord, error)

func GetMenu

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

func GetOption

func GetOption(ds applications.Datasource, key string) (*xdominion.XRecord, error)

func Setup

func Setup(ds applications.Datasource, prefix string) ([]string, error)

InitModule is called during the init phase to link the module with the system adds tables and caches to sitecontext::database

func StartContext

func StartContext(ds applications.Datasource, ctx *context.Context) error

func Synchronize

func Synchronize(ds applications.Datasource, prefix string) ([]string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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