18 Commits

Author SHA1 Message Date
dependabot[bot]
c5666fd241 build(deps): bump github.com/spf13/pflag from 1.0.2 to 1.0.3
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-03 16:13:33 +00:00
dependabot[bot]
9788b816d4 build(deps): bump github.com/spf13/viper from 1.2.0 to 1.2.1
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-02 19:49:34 +00:00
Łukasz Mierzwa
18536aa53f chore(api): update Go dependencies 2018-09-24 20:12:37 +01:00
dependabot[bot]
ea38f7fb5e build(deps): bump github.com/spf13/viper from 1.1.0 to 1.2.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-23 23:07:04 +00:00
Łukasz Mierzwa
e7faeb013e chore(api): update Go vendor deps to the latest version 2018-09-05 21:36:43 +01:00
Łukasz Mierzwa
6dd6810ce7 chore(package): update Go dependencies 2018-08-10 20:57:21 +01:00
Łukasz Mierzwa
32925da47d chore(package): reinit Go vendor config 2018-07-25 11:06:37 +02:00
Łukasz Mierzwa
1402b8d146 chore(package): update Go dependencies 2018-07-24 18:52:15 +02:00
Łukasz Mierzwa
5de0efd7b4 feat(backend): Add CORS headers to API responses 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
557f346149 chore(go): generate Gopkg.lock using most recent dep 2018-07-19 11:43:45 +02:00
Łukasz Mierzwa
14b248de91 Update Go vendor packages
New release will be cut soon, update vendored packages before that to allow testing
2018-01-24 17:00:28 -08:00
Łukasz Mierzwa
76b4012db7 Cleanup Go dep files and update deps 2017-12-03 11:38:22 -08:00
Łukasz Mierzwa
7fa4230a1d More config test coverage for both legacy and current paths 2017-12-03 11:34:12 -08:00
Łukasz Mierzwa
a2fe18e71c Drop envconfig from deps, it's no longer used 2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
6273a5a585 Rewrite flag & env handling to use viper
This adds support for reading configuration from file, env support is still there and legacy env variables will still work, but flags are now following config schema, so they don't match old flags.
Having a config file allows to express more complex configuration options, which is needed for some feature requests.
2017-11-27 20:34:36 -08:00
Łukasz Mierzwa
27d38d85b3 Update vendor packages 2017-09-05 16:22:30 -07:00
Łukasz Mierzwa
38339c887e Use gzip middlerware to compress responses if client can accept compressed content
Some alert.json responses are going to be big, compress it to save bandwidth
2017-08-08 11:28:17 -07:00
Łukasz Mierzwa
23f3551280 Migrate vendor forlder to dep
This PR is a result of running 'dep init' followed by 'make vendor', it removes govendor file and creates dep Gopkg.* files.
2017-07-18 09:16:42 -07:00