web

package
v0.0.0-...-aea2ce2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleIndex

func HandleIndex(w http.ResponseWriter, r *http.Request)

Types

type Router

type Router struct {
	CmsCache      string
	CmsRoot       string
	HashifyAssets bool
	// contains filtered or unexported fields
}

func (*Router) AllowServerTiming

func (c *Router) AllowServerTiming(r *http.Request) bool

func (*Router) Close

func (c *Router) Close() error

func (*Router) Compile

func (c *Router) Compile() error

func (Router) ErrorHandler

func (_ Router) ErrorHandler(w http.ResponseWriter, r *http.Request, err error)

func (*Router) Handler

func (c *Router) Handler() http.Handler

func (Router) Reload

func (c Router) Reload() error

type View

type View struct {
	Pid int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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