Documentation ¶
Overview ¶
Package configRead reads configuration information from either a JSON file or from static environment variables as a fallback.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SpotifyKey string `json:"spotify-key"` SpotifySecret string `json:"spotify-secret"` LastFmKey string `json:"lastfm-key"` LastFmSecret string `json:"lastfm-secret"` HTTPPort string `json:"http-port"` Hostname string `json:"hostname,omitempty"` AuthRedirectURL string `json:"auth-redirect-url"` Debug bool `json:"debug"` RedisURL string `json:"redis-url"` }
Config holds the different configuration options.
Click to show internal directories.
Click to hide internal directories.