handler

package
v0.0.0-...-4d456dd Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New() *Handler

func (*Handler) Do

func (h *Handler) Do(w http.ResponseWriter, r *http.Request) interface{}

func (*Handler) Register

func (h *Handler) Register(path string, fn func(w http.ResponseWriter, r *http.Request) interface{})

Jump to

Keyboard shortcuts

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