package
Version:
v0.0.0-...-07b4fab
Opens a new window with list of versions in this module.
Published: Apr 26, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Abuseipdb struct {
Enabled bool `yaml:"enabled"`
Key string `yaml:"key"`
Interval time.Duration `yaml:"interval"`
}
type Config struct {
Log Log `yaml:"log"`
Ssh Ssh `yaml:"ssh"`
Http Http `yaml:"http"`
Ftp Ftp `yaml:"ftp"`
Database Database `yaml:"database"`
Dashboard Dashboard `yaml:"dashboard"`
Abuseipdb Abuseipdb `yaml:"abuseipdb"`
}
type Dashboard struct {
Enabled bool `yaml:"enabled"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Database struct {
Driver string `yaml:"driver"`
Dsn string `yaml:"dsn"`
}
type Ftp struct {
Enabled bool `yaml:"enabled"`
Address string `yaml:"address"`
}
type Http struct {
Enabled bool `yaml:"enabled"`
Address string `yaml:"address"`
}
type Log struct {
Level string `yaml:"level"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.