Versions in this module Expand all Collapse all v1 v1.2.0 Feb 29, 2024 Changes in this version + const DefaultBindAddress + const DefaultBindSocket + const DefaultBlockSize + const DefaultEnqueuedQueryTimeout + const DefaultEnqueuedWriteTimeout + const DefaultFlightAddress + const DefaultMaxBodySize + const DefaultMaxRowNum + const DefaultRealm + type Config struct + AccessLogPath string + AccessLogStatusFilters []StatusFilter + AuthEnabled bool + BindAddress string + BindSocket string + CPUThreshold int + ChunkReaderParallel int + DebugPprofEnabled bool + Domain string + EnqueuedQueryTimeout toml.Duration + EnqueuedWriteTimeout toml.Duration + FlightAddress string + FlightAuthEnabled bool + FlightChFactor int + FlightEnabled bool + FluxEnabled bool + FluxLogEnabled bool + HTTPSCertificate string + HTTPSEnabled bool + HTTPSPrivateKey string + LogEnabled bool + MaxBodySize int + MaxConcurrentQueryLimit int + MaxConcurrentWriteLimit int + MaxConnectionLimit int + MaxEnqueuedQueryLimit int + MaxEnqueuedWriteLimit int + MaxRowLimit int + ParallelQueryInBatch bool + PprofEnabled bool + QueryMemoryLimitEnabled bool + QueryRequestRateLimit int + ReadBlockSize toml.Size + Realm string + SharedSecret string + SlowQueryTime toml.Duration + SuppressWriteLog bool + TLS *tls.Config + TimeFilterProtection bool + UnixSocketEnabled bool + UnixSocketGroup *toml.Group + UnixSocketPermissions toml.FileMode + WeakPwdPath string + WhiteList string + WriteRequestRateLimit int + WriteTracing bool + func NewConfig() Config + func (c *Config) ShowConfigs() map[string]interface{} + func (c Config) Validate() error + type StatusFilter struct + func ParseStatusFilter(s string) (StatusFilter, error) + func (sf *StatusFilter) UnmarshalText(text []byte) error + func (sf StatusFilter) MarshalText() (text []byte, err error) + func (sf StatusFilter) Match(statusCode int) bool + type StatusFilters []StatusFilter + func (filters StatusFilters) Match(statusCode int) bool