server

package module
v0.1.1-0...-0184003 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderServer = "Server"
)

Variables

This section is empty.

Functions

func Middleware

func Middleware(server string) func(next http.Handler) http.Handler

Types

type Server

type Server struct {
	Value string
}

func New

func New(server string) *Server

func (*Server) Middleware

func (m *Server) Middleware(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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