servers

package
v5.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package servers defines the internal interface for starting and stopping the various HTTP server implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalServer

type InternalServer[T any] interface {
	Serve(map[string]api.Middleware, []string) error
	Server() T
	Stop()
}

internal interface to start-stop http servers

Directories

Path Synopsis
Package fcgi implements a FastCGI server that serves HTTP requests over the FastCGI protocol.
Package fcgi implements a FastCGI server that serves HTTP requests over the FastCGI protocol.
Package http implements a plain HTTP/1.1 server with optional h2c (HTTP/2 cleartext) support.
Package http implements a plain HTTP/1.1 server with optional h2c (HTTP/2 cleartext) support.
Package http3 implements an experimental HTTP/3 server using QUIC with TLS and optional ACME certificate support.
Package http3 implements an experimental HTTP/3 server using QUIC with TLS and optional ACME certificate support.
Package https implements an HTTPS server with TLS, optional mutual TLS client authentication, HTTP/2, and ACME certificate automation.
Package https implements an HTTPS server with TLS, optional mutual TLS client authentication, HTTP/2, and ACME certificate automation.

Jump to

Keyboard shortcuts

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