about to replace config and storage with shared package
parent
8a90a3adda
commit
e20ba5361d
|
|
@ -127,7 +127,7 @@ func fromFlags() error {
|
||||||
binds = append(binds, addFlag(flagRate, "100", "rate limit per second"))
|
binds = append(binds, addFlag(flagRate, "100", "rate limit per second"))
|
||||||
binds = append(binds, addFlag(flagBurst, "100", "rate limit burst"))
|
binds = append(binds, addFlag(flagBurst, "100", "rate limit burst"))
|
||||||
binds = append(binds, addFlag(flagTimeout, "30", "seconds to wait for limiter"))
|
binds = append(binds, addFlag(flagTimeout, "30", "seconds to wait for limiter"))
|
||||||
binds = append(binds, addFlag(flagRewrites, "", "comma-separated from:replace:replacement to rewrite in response bodies"))
|
binds = append(binds, addFlag(flagRewrites, "", "comma-separated from:replace:replacement:oauth to rewrite in response bodies"))
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
for _, bind := range binds {
|
for _, bind := range binds {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue