about to replace config and storage with shared package

This commit is contained in:
bel
2019-10-22 02:36:59 +00:00
parent 8a90a3adda
commit e20ba5361d
26 changed files with 1 additions and 1 deletions

0
config/config.go Normal file → Executable file
View File

2
config/new.go Normal file → Executable file
View File

@@ -127,7 +127,7 @@ func fromFlags() error {
binds = append(binds, addFlag(flagRate, "100", "rate limit per second"))
binds = append(binds, addFlag(flagBurst, "100", "rate limit burst"))
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()
for _, bind := range binds {

0
config/new_test.go Normal file → Executable file
View File