Documentation
¶
Overview ¶
Package httpserver provides a simple HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option is a functional option for configuring a Server.
func WithMaxHeaderBytes ¶
WithMaxHeaderBytes sets the max header bytes for the server.
func WithReadHeaderTimeout ¶
WithReadHeaderTimeout sets the read header timeout for the server.
func WithReadTimeout ¶
WithReadTimeout sets the read timeout for the server.
func WithWriteTimeout ¶
WithWriteTimeout sets the write timeout for the server.
Click to show internal directories.
Click to hide internal directories.