Versions in this module Expand all Collapse all v1 v1.0.2 Dec 31, 2022 Changes in this version + const RAND_INT_MAX + const RAND_INT_MIN + const STRING_LENGTH + var DefaultConfig = Config + func RandomString() string + type Config struct + BodyLimit int + Concurrency int + DBPath string + DisableStartupMessage bool + EnablePrintRoutes bool + IdleTimeout int + LogLevel string + Prefork bool + ReadBufferSize int + ReadTimeout int + ReduceMemoryUsage bool + Timezone string + WriteBufferSize int + WriteTimeout int + func (c *Config) SetBodyLimit(bodyLimit int) + func (c *Config) SetConcurrency(concurrency int) + func (c *Config) SetDBPath(dbPath string) + func (c *Config) SetDisableStartMessage(disableStartupMessage bool) + func (c *Config) SetEnablePrintRoutes(enablePrintRoutes bool) + func (c *Config) SetIdleTimeout(idleTimeout int) + func (c *Config) SetLogLevel(logLevel string) + func (c *Config) SetPrefork(prefork bool) + func (c *Config) SetReadBufferSize(readBufferSize int) + func (c *Config) SetReadTimeout(readTimeout int) + func (c *Config) SetReduceMemoryUsage(reduceMemoryUsage bool) + func (c *Config) SetTimezone(timezone string) + func (c *Config) SetWriteBufferSize(writeBufferSize int) + func (c *Config) SetWriteTimeout(writeTimeout int)