Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, addr string, mux *http.ServeMux) error

Start starts a new HTTP server and manages its lifecycle. This is a convenience function since Go does not manage interrupt signals directly. It returns nil after a graceful shutdown on SIGINT or SIGTERM.

Types

This section is empty.

Jump to

Keyboard shortcuts

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