Documentation
¶
Index ¶
- Variables
- func DoPost(url, contentType string, body io.Reader) ([]byte, error)
- func Download(url, file string) error
- func FreeMemory() uint64
- func ReadCSV(url string) [][]string
- func ReadYaml(url string, result interface{})
- func Status()
- func TotalMemory() uint64
- func UsedByEngineMemory() uint64
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var AssignedMemory float32
Functions ¶
func FreeMemory ¶
func FreeMemory() uint64
func TotalMemory ¶
func TotalMemory() uint64
func UsedByEngineMemory ¶
func UsedByEngineMemory() uint64
Types ¶
type Config ¶
type Config struct {
RulesFolder string `yaml:"rulesFolder"`
GeoIPFolder string `yaml:"geoipFolder"`
Elasticsearch string `yaml:"elasticsearch"`
PostgreSQL struct {
Server string `yaml:"server"`
Port string `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
Database string `yaml:"database"`
} `yaml:"postgresql"`
ErrorLevel string `yaml:"errorLevel"`
UseCache string `yaml:"useCache"`
UseSystemRules string `yaml:"useSystemRules"`
AppendCompletedAlerts string `yaml:"appendCompletedAlerts"`
}
Click to show internal directories.
Click to hide internal directories.