Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type Config ¶
type Config struct { Level LevelConfig `json:"level"` Graphics GraphicsConfig `json:"graphics"` Features FeaturesConfig `json:"features"` Images ImagesConfig `json:"images"` Derivatives DerivativesConfig `json:"derivatives"` Flickr FlickrConfig `json:"flickr,omitempty"` Primitive PrimitiveConfig `json:"primitive,omitempty"` }
func NewConfigFromFile ¶
type DerivativesConfig ¶
type DerivativesConfig struct {
Cache CacheConfig `json:"cache"`
}
type FeaturesAppend ¶
type FeaturesAppend map[string]map[string]FeaturesDetails
type FeaturesConfig ¶
type FeaturesConfig struct { Enable FeaturesToggle `json:"enable"` Disable FeaturesToggle `json:"disable"` Append FeaturesAppend `json:"append"` }
type FeaturesDetails ¶
type FeaturesToggle ¶
type FlickrConfig ¶
type GraphicsConfig ¶
type GraphicsConfig struct {
Source SourceConfig `json:"source"`
}
type ImagesConfig ¶
type ImagesConfig struct { Source SourceConfig `json:"source"` Cache CacheConfig `json:"cache"` }
type LevelConfig ¶
type LevelConfig struct {
Compliance string `json:"compliance"`
}
type PrimitiveConfig ¶
type PrimitiveConfig struct {
MaxIterations int `json:"max_iterations"`
}
Click to show internal directories.
Click to hide internal directories.