about to replace config and storage with shared package

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

0
.gitignore vendored Normal file → Executable file
View File

0
conf.yaml Normal file → Executable file
View File

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

0
main.go Normal file → Executable file
View File

0
main_test.go Normal file → Executable file
View File

0
server/new.go Normal file → Executable file
View File

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

0
server/proxy.go Normal file → Executable file
View File

0
server/proxy_test.go Normal file → Executable file
View File

0
server/routes.go Normal file → Executable file
View File

0
server/routes_test.go Normal file → Executable file
View File

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

0
server/server_test.go Normal file → Executable file
View File

0
storage/db.go Normal file → Executable file
View File

0
storage/db_test.go Normal file → Executable file
View File

0
storage/map.go Normal file → Executable file
View File

0
storage/packable/packable.go Normal file → Executable file
View File

0
storage/packable/packable_test.go Normal file → Executable file
View File

0
testdata/Bserver.crt vendored Normal file → Executable file
View File

0
testdata/Bserver.key vendored Normal file → Executable file
View File

0
testdata/Bserver.pkcs12 vendored Normal file → Executable file
View File

0
testdata/rproxy3server.crt vendored Normal file → Executable file
View File

0
testdata/rproxy3server.key vendored Normal file → Executable file
View File

0
testdata/rproxy3server.pkcs12 vendored Normal file → Executable file
View File