Versions in this module Expand all Collapse all v0 v0.0.1 May 6, 2023 Changes in this version + const DefaultAddr + const DefaultIdleTimeout + const DefaultMaxHeaderBytes + const DefaultReadTimeout + const DefaultShutdownTimeout + const DefaultWriteTimeout + const UserAgent + func NewClient() *resty.Client + func NewServer(httpCfg HTTPServerConfig, handler http.Handler, shutdownFn func()) *server + type HTTPServerConfig struct + Addr string + IdleTimeout time.Duration + MaxHeaderBytes int + ReadTimeout time.Duration + ShutdownTimeout time.Duration + WriteTimeout time.Duration + type Server interface + Run func() error