config

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WindowSize       time.Duration
	NumWindows       int
	DNSServer        string
	BadgerPath       string
	NatsAddr         string
	NatsPort         int
	NatsHTTPPort     int
	NatsUser         string
	NatsPassword     string
	NatsCA           string
	NatsCert         string
	NatsKey          string
	GeoIPDBFile      string
	ASNDBFile        string
	KeepRequests     int
	ResolverWorkers  int
	ResolverTries    int
	ResolverTTL      time.Duration
	LogLevel         string
	BlockTTL         time.Duration
	MaxRatio         float64
	MinAppRequests   int
	MaxAppRequests   int
	LogReplay        string
	LogFormat        string
	LogAnonymize     bool
	APIAddress       string
	LogMemoryStats   bool
	WhitelistTOML    string
	WithNetworks     bool
	ClearBlocked     bool
	SocketFile       string
	WebsocketIngest  bool
	IgnorePrivateIPs bool
	CookieName       string
	CookieKey        string
	CookieSecret     string
}

Config contains all configurable bits and pieces the botex application needs The configuration gets passed on to all parts of the application that need to access it

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL