feat: add cli flags

This commit is contained in:
 Ilya Atamas
2019-04-21 18:30:04 +03:00
parent 6abde80d35
commit e5b40a79ea
11 changed files with 193 additions and 152 deletions

View File

@@ -17,8 +17,5 @@ type Proxy struct {
type Options struct {
RedisPrefix string
RedisExpireTimeout time.Duration
UpstreamAddress string
ReplaceAddress string
StaticServerAddress string
UpstreamAddress string
}