Versions in this module Expand all Collapse all v1 v1.0.0 Dec 12, 2023 Changes in this version + func ListenAndServe(opts ...opt) error + func Run(ctx context.Context, opts ...opt) error + func WithAddress(host string, port uint16) opt + func WithHandler(handler http.Handler) opt + func WithIdleTimeout(d time.Duration) opt + func WithMaxHeaderBytes(i int) opt + func WithReadHeaderTimeout(d time.Duration) opt + func WithReadTimeout(d time.Duration) opt + func WithShutdownTimeout(d time.Duration) opt + func WithTLSConfig(conf *tls.Config) opt + func WithWriteTimeout(d time.Duration) opt + type Server interface + ListenAndServe func() error + Run func(ctx context.Context) error + func New(opts ...opt) Server Other modules containing this package github.com/ArenAzibekyan/httpserver/v2