Documentation ¶ Index ¶ func Init(cfg Config, handler http.Handler) func() type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(cfg Config, handler http.Handler) func() Types ¶ type Config ¶ type Config struct { Host string Port int CertFile string KeyFile string PProf bool PrintAccessLog bool ShutdownTimeout int MaxContentLength int64 ReadTimeout int WriteTimeout int IdleTimeout int } Source Files ¶ View all Source files httpx.go Click to show internal directories. Click to hide internal directories.