hs

package
v0.0.0-...-f56f90e Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GET     = "GET"
	POST    = "POST"
	HEAD    = "HEAD"
	OPTIONS = "OPTIONS"
	PATCH   = "PATCH"
	PUT     = "PUT"
	DELETE  = "DELETE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	Server       *http.Server
	Router       *httprouter.Router
	HandlerFuncs *[]httprouter.Handle
}

func (*HttpServer) AddHandle

func (s *HttpServer) AddHandle(method string, path string, handle httprouter.Handle)

Jump to

Keyboard shortcuts

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