Make connection throttle configurable

This commit is contained in:
2021-04-11 02:24:39 +02:00
parent 7ec29d0846
commit 44f611aa6b
4 changed files with 27 additions and 16 deletions

View File

@@ -24,9 +24,10 @@ type PostgresStoreConfig struct {
}
type HoneypotConfig struct {
ListenAddr string `toml:"ListenAddr"`
LogLevel string `toml:"LogLevel"`
HostKeyPath string `toml:"HostKeyPath"`
ListenAddr string `toml:"ListenAddr"`
LogLevel string `toml:"LogLevel"`
HostKeyPath string `toml:"HostKeyPath"`
ThrottleSpeed float64 `toml:"ThrottleSpeed"`
}
type FrontendConfig struct {