diff options
| author | horus | 2018-02-14 18:32:43 +0100 |
|---|---|---|
| committer | horus | 2018-02-14 18:32:43 +0100 |
| commit | 8499fb035cb2b0d2cb28bf3a48483761f95c1937 (patch) | |
| tree | a38bb5b3edac67a4d385e88ccfbe0fc64bed7c42 /crawler/config.go | |
| parent | 62174f7c84a6224a50b43438ce09b461233f7d8e (diff) | |
| download | alkobote-8499fb035cb2b0d2cb28bf3a48483761f95c1937.tar.gz | |
Adds URL shorting with polr. (crawler)
Diffstat (limited to 'crawler/config.go')
| -rw-r--r-- | crawler/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawler/config.go b/crawler/config.go index af02a6c..552d57a 100644 --- a/crawler/config.go +++ b/crawler/config.go @@ -75,4 +75,6 @@ func (c *Config) setsConfig() { c.DBOptions = viper.GetString("DB_Options") c.DBPath = viper.GetString("DB_Path") c.Debug = viper.GetBool("Debug") + c.Polr_URL = viper.GetString("Polr_URL") + c.Polr_API_Key = viper.GetString("Polr_API_Key") } |
