lib

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallHelloHTMLPage

func CallHelloHTMLPage()

func GetFoo

func GetFoo(r *mux.Router)

func GetFooHost

func GetFooHost(r *mux.Router)

func GetFooUser

func GetFooUser(r *mux.Router)

func GetFooUserRegex

func GetFooUserRegex(r *mux.Router)

func Hello

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

func HelloHTMLPage

func HelloHTMLPage() string

func HelloMiddleware

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

func NegroniAuthExample

func NegroniAuthExample(r *mux.Router)

func SimpleNegroni

func SimpleNegroni(r *mux.Router)

func SimpleServer

func SimpleServer()

func TestMiddleware

func TestMiddleware()

func TestRouter

func TestRouter()

Types

type Router

type Router struct {
}

func (*Router) ServeHTTP

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

Jump to

Keyboard shortcuts

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