http

package
v0.0.0-...-4044053 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 5 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

func WithHttpFactory

func WithHttpFactory(addr string) fx.Option

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
JackTT - Gopher 🇻🇳