Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoCache = "nocache" InMemory = "inmemory" Redis = "redis" Memcache = "memcache" )
List of available cache type.
View Source
const ( NSQ = "nsq" RabbitMQ = "rabbitmq" )
List of available pubsub type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Web server config. Web webConfig `envconfig:"WEB"` // Worker config. Worker workerConfig `envconfig:"WORKER"` // Cache config. Cache cacheConfig `envconfig:"CACHE"` // Database config. DB dbConfig `envconfig:"DB"` // Logging config. Log logConfig `envconfig:"LOG"` // Elasticsearch config. ES esConfig `envconfig:"ES"` // PubSub config. PubSub pubSubConfig `envconfig:"PUBSUB"` }
Config is configuration model for whole malscraper project.
Click to show internal directories.
Click to hide internal directories.