revconfig

package
v0.0.0-...-23a4ccf Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaConfig

type KafkaConfig struct {
	Host       string `yaml: host`
	Topic      string
	SslStream  string
	DnsStream  string
	HttpStream string
}

type ProcessingConfig

type ProcessingConfig struct {
	Alexa         bool
	AlexaFile     string
	Blacklist     bool
	BlacklistFile string
	Suricata      bool
	Similarity    bool
}

type RevAPI

type RevAPI struct {
	Port int
}

type RevConfig

type RevConfig struct {
	InputType string
	Api       RevAPI
	Kafka     KafkaConfig
	Checks    ProcessingConfig
}

func InitConfig

func InitConfig() *RevConfig

Jump to

Keyboard shortcuts

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