Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoCache = "nocache" InMemory = "inmemory" Redis = "redis" Memcache = "memcache" )
List of available cache type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Web server config.
Web webConfig `envconfig:"WEB"`
// Clean URL from MyAnimeList.
Clean cleanConfig `envconfig:"CLEAN"`
// Cache config.
Cache cacheConfig `envconfig:"CACHE"`
// Logging config.
Log logConfig `envconfig:"LOG"`
// Elasticsearch config.
ES esConfig `envconfig:"ES"`
}
Config is configuration model for whole malscraper project.
Click to show internal directories.
Click to hide internal directories.