httpmux

package
v0.0.0-...-b4d0808 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(port, route string, handler func(w http.ResponseWriter, req *http.Request))

AddRoute To handle different data route for spec path.

func GetPortServe

func GetPortServe(port string) (serveMux *http.ServeMux, err error)

GetPortServe retrive the *http.ServeMux for the spec port

Types

This section is empty.

Jump to

Keyboard shortcuts

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