admin

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = new(Admin)

Functions

func GlobalErrorHandler added in v0.0.4

func GlobalErrorHandler(h context.Handler) context.Handler

func InitRouter

func InitRouter(prefix string) *context.App

Types

type Admin

type Admin struct {
	// contains filtered or unexported fields
}

func NewAdmin

func NewAdmin(tableCfg map[string]models.TableGenerator) *Admin

func (*Admin) GetHandler

func (admin *Admin) GetHandler(url, method string) context.Handler

func (*Admin) GetRequest

func (admin *Admin) GetRequest() []context.Path

func (*Admin) InitPlugin

func (admin *Admin) InitPlugin()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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