server

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = &configs.Config{Name: "server"}

Functions

func CompileRoute

func CompileRoute(input string) (*regexp.Regexp, option)

func Init

func Init()

func Route

func Route(pattern string, methods []requests.Method, handle func(*requests.Request) (requests.Response, error))

func Run

func Run()

func Static

func Static()

func Stop

func Stop()

Types

This section is empty.

Jump to

Keyboard shortcuts

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