router

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotFound

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

Types

type Router added in v0.0.37

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

func New added in v0.0.37

func New(ctx context.Context, reg *prometheus.Registry) *Router

func (*Router) ServeHTTP added in v0.0.37

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

Jump to

Keyboard shortcuts

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