Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDBDriver = "mongo" DefaultDBDSN = "localhost:27017" )
View Source
const ( DefaultStatsRefreshHours = 4 DefaultNWorkers = 8 )
View Source
const ( DefaultLogLevel = "INFO" DefaultLevelDBPath = "recon.db" )
View Source
const (
DefaultHKPBind = ":11371"
)
View Source
const (
DefaultSMTPHost = "localhost:25"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HKPSConfig ¶
type OpenPGPConfig ¶
type OpenPGPConfig struct { PKS *PKSConfig `toml:"pks"` NWorkers int `toml:"nworkers"` DB DBConfig `toml:"db"` }
func DefaultOpenPGP ¶
func DefaultOpenPGP() OpenPGPConfig
type PKSConfig ¶
type PKSConfig struct { From string `toml:"from"` To []string `toml:"to"` SMTP SMTPConfig `toml:"smtp"` }
type SMTPConfig ¶
type Settings ¶
type Settings struct { Conflux confluxConfig `toml:"conflux"` IndexTemplate string `toml:"indexTemplate"` VIndexTemplate string `toml:"vindexTemplate"` StatsTemplate string `toml:"statsTemplate"` HKP HKPConfig `toml:"hkp"` HKPS *HKPSConfig `toml:"hkps"` OpenPGP OpenPGPConfig `toml:"openpgp"` LogFile string `toml:"logfile"` LogLevel string `toml:"loglevel"` Webroot string `toml:"webroot"` Contact string `toml:"contact"` Hostname string `toml:"hostname"` Software string `toml:"software"` Version string `toml:"version"` }
func DefaultSettings ¶
func DefaultSettings() Settings
func ParseSettings ¶
Click to show internal directories.
Click to hide internal directories.