admin

package
v0.0.0-...-f683405 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path string

Path to admin app

Functions

func Register

func Register()

Register register the admin in io apps

Types

type App

type App struct{}

App admin app struct

func (App) Menus

func (App) Menus() []menu.Menu

Menus setup menus

func (App) Permissions

func (App) Permissions() []user.Permission

Permissions setup permissions of app

func (App) Register

func (App) Register()

Register register the app

func (App) Router

func (App) Router()

Router setup routers

func (App) WhenReady

func (App) WhenReady()

WhenReady called after setup all apps

type Controller

type Controller struct{}

type Dashboard

type Dashboard struct {
	io.Model
}

type Settings

type Settings struct {
	SessionAge string `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (Settings) Get

func (settings Settings) Get(key string) interface{}

func (*Settings) OnUpdate

func (s *Settings) OnUpdate(r *io.Request) bool

type Widget

type Widget struct {
	io.Model
}

Jump to

Keyboard shortcuts

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