admin

package
v0.0.0-...-d78814b Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: GPL-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package admin provides controllers for admin features of the app.

Routes

Admin Only
/admin/           Admin index page
/admin/settings   Manage app settings
/admin/editor     Web page editor

Related Models

users

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxImageWidth = 1280
	JpegQuality   = 90
)

TODO: configurable max image width.

Functions

func Register

func Register(r *mux.Router, authErrorFunc http.HandlerFunc)

Register the initial setup routes.

Types

type FileTree

type FileTree struct {
	UserRoot bool // false = CoreRoot
	Files    []render.Filepath
}

FileTree holds information about files in the document roots.

Jump to

Keyboard shortcuts

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