adminboard

package
v0.0.0-...-9435518 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodGet  = api.MethodGet
	MethodPost = api.MethodPost
)

Variables

This section is empty.

Functions

func AddMiddleware

func AddMiddleware(m MiddlewareFunc)

func RegisterApi

func RegisterApi(method, path string, route RouteFunc)

func RegisterSecureApi

func RegisterSecureApi(method, path string, route RouteFunc)

func Run

func Run() error

func Server

func Server() *api.Group

func Shutdown

func Shutdown()

Types

type MiddlewareFunc

type MiddlewareFunc func(ctx api.Context) error

type PrepareSession

type PrepareSession func(session json.Object) error

type RouteFunc

type RouteFunc func(ctx api.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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