http

package
v0.0.0-...-2e71720 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithHttp = fx.Provide(
	newHttpServer,
	fx.Annotate(
		newServeMux,
		fx.ParamTags(`group:"routes"`),
	),
)

Functions

func AsRoute

func AsRoute(f any) any

Types

type Route

type Route interface {
	http.Handler

	Pattern() string
}

Jump to

Keyboard shortcuts

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