web

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Group

func Group(relativePath string, handlers ...core.HandlerFunc) *core.RouterGroup

Group defined TODO

func Handle

func Handle(m string, r string, h ...core.HandlerFunc)

Handle defined TODO

func Run

func Run(addr ...string) error

Run defined TODO

func ServeHTTP

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

ServeHTTP defined TODO

func Static

func Static(relativePath, root string)

Static defined TODO

func StaticFS

func StaticFS(relativePath string, fs http.FileSystem)

StaticFS defined TODO

func Use

func Use(middleware ...core.HandlerFunc)

Use defined TODO

func Web

func Web() *core.Web

Web defined TODO

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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