mux

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
}

type Router

type Router struct {
	sync.RWMutex
}

Router 路由表

type Server

type Server struct {
}

func New

func New() *Server

func (*Server) Run

func (srv *Server) Run() error

func (*Server) ServeHTTP

func (srv *Server) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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