admin

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: BSD-3-Clause Imports: 32 Imported by: 0

Documentation

Overview

Package admin desrcibes the admin view containing references to various managers and editors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Admin

func Admin(view []byte) (_ []byte, err error)

Admin ...

func Dashboard

func Dashboard() ([]byte, error)

Dashboard returns the admin view with analytics dashboard

func Docs

func Docs(port int)

Docs adds the documentation file server to the server, accessible at http://localhost:1234 by default

func Error400

func Error400() ([]byte, error)

Error400 creates a subview for a 400 error page

func Error404

func Error404() ([]byte, error)

Error404 creates a subview for a 404 error page

func Error405

func Error405() ([]byte, error)

Error405 creates a subview for a 405 error page

func Error500

func Error500() ([]byte, error)

Error500 creates a subview for a 500 error page

func ErrorMessage

func ErrorMessage(title, message string) ([]byte, error)

ErrorMessage is a generic error message container, similar to Error500() and others in this package, ecxept it expects the caller to provide a title and message to describe to a view why the error is being shown

func ForgotPassword

func ForgotPassword() ([]byte, error)

ForgotPassword ...

func Init

func Init() ([]byte, error)

Init ...

func Login

func Login() ([]byte, error)

Login ...

func RecoveryKey

func RecoveryKey() ([]byte, error)

RecoveryKey ...

func Run

func Run()

Run adds Handlers to default http listener for Admin

func UsersList

func UsersList(req *http.Request) ([]byte, error)

UsersList ...

Types

This section is empty.

Directories

Path Synopsis
Package config provides a content type to manage the Ponzu system's configuration settings for things such as its name, domain, HTTP(s) port, email, server defaults and backups.
Package config provides a content type to manage the Ponzu system's configuration settings for things such as its name, domain, HTTP(s) port, email, server defaults and backups.
Package upload provides a re-usable file upload and storage utility for Ponzu systems to handle multipart form data.
Package upload provides a re-usable file upload and storage utility for Ponzu systems to handle multipart form data.
Package user contains the basic admin user creation and authentication code, specific to Ponzu systems.
Package user contains the basic admin user creation and authentication code, specific to Ponzu systems.

Jump to

Keyboard shortcuts

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