system

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JumpOutAction

func JumpOutAction(jf JumpFunction, args ...interface{})

func Redirect302

func Redirect302(url string)

Types

type JumpFunction

type JumpFunction func(ctxt controller.ActionContext, args ...interface{})

type RoutePathFunc

type RoutePathFunc func(req *http.Request) string

type System

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

func NewSystem

func NewSystem(rt router.Router) *System

func (*System) ServeHTTP

func (s *System) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*System) SetRouteFunc

func (s *System) SetRouteFunc(routePathFunc RoutePathFunc)

Jump to

Keyboard shortcuts

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