host

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(handler http.HandlerFunc) http.HandlerFunc

Types

type HostWriter

type HostWriter interface {
	http.ResponseWriter
	http.Hijacker
	SetListener(l *config.Listener)
	SetHost(h *config.Host)
	GetListener() *config.Listener
	GetHost() *config.Host
	GetParams() *xconfig.XConfig
	SetParam(id string, value interface{})
}

Structures to wrap writer and log stats

Jump to

Keyboard shortcuts

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