settings

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path string

Functions

func Register

func Register(v ...interface{})

Register register the auth in io apps

Types

type App

type App struct{}

App settings 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 settings 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 Registry

type Registry struct {
	Title     string
	Form      []html.InputStruct
	Slug      string
	Reference string
}

type Settings

type Settings struct {
	io.Model
	Reference string
	Title     string
	Data      string
	Default   string
	Ptr       interface{} `gorm:"-"`
}

Jump to

Keyboard shortcuts

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