Standard library
HTTP server type
HTTP server product shape.
Introduction
HTTP server product shape. Import std/net/server to bind the module as server. Call free functions as server.name(...). Struct methods use a receiver value.
/ std/net/server
This page is the package reference for std/net/server. Private helpers used only by co-located tests are not listed.
Struct · server
HTTP server shape used with the serve helpers. The shape is exported as server.server. Construct or obtain values through the free functions below when the package provides them.
/ std/net/server
; shape: server.server
; see std/net/http serve
Parameters: No parameters. Type or shape export. Returns: Shape export used for literals and methods.