router

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 3 Imported by: 0

README

chuck

Go router for simpletons

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetField

func GetField(r *http.Request, index int) string

func Handle

func Handle(pattern string, h http.Handler)

func HandleFunc

func HandleFunc(pattern string, h http.HandlerFunc)

func Serve

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

Types

type CtxKey

type CtxKey struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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