about to replace config and storage with shared package
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
config/config.go
Normal file → Executable file
0
config/config.go
Normal file → Executable file
2
config/new.go
Normal file → Executable file
2
config/new.go
Normal file → Executable 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
0
config/new_test.go
Normal file → Executable file
0
main_test.go
Normal file → Executable file
0
main_test.go
Normal file → Executable file
0
server/new.go
Normal file → Executable file
0
server/new.go
Normal file → Executable file
0
server/new_test.go
Normal file → Executable file
0
server/new_test.go
Normal file → Executable file
0
server/proxy.go
Normal file → Executable file
0
server/proxy.go
Normal file → Executable file
0
server/proxy_test.go
Normal file → Executable file
0
server/proxy_test.go
Normal file → Executable file
0
server/routes.go
Normal file → Executable file
0
server/routes.go
Normal file → Executable file
0
server/routes_test.go
Normal file → Executable file
0
server/routes_test.go
Normal file → Executable file
0
server/server.go
Normal file → Executable file
0
server/server.go
Normal file → Executable file
0
server/server_test.go
Normal file → Executable file
0
server/server_test.go
Normal file → Executable file
0
storage/db.go
Normal file → Executable file
0
storage/db.go
Normal file → Executable file
0
storage/db_test.go
Normal file → Executable file
0
storage/db_test.go
Normal file → Executable file
0
storage/map.go
Normal file → Executable file
0
storage/map.go
Normal file → Executable file
0
storage/packable/packable.go
Normal file → Executable file
0
storage/packable/packable.go
Normal file → Executable file
0
storage/packable/packable_test.go
Normal file → Executable file
0
storage/packable/packable_test.go
Normal file → Executable file
0
testdata/Bserver.crt
vendored
Normal file → Executable file
0
testdata/Bserver.crt
vendored
Normal file → Executable file
0
testdata/Bserver.key
vendored
Normal file → Executable file
0
testdata/Bserver.key
vendored
Normal file → Executable file
0
testdata/Bserver.pkcs12
vendored
Normal file → Executable file
0
testdata/Bserver.pkcs12
vendored
Normal file → Executable file
0
testdata/rproxy3server.crt
vendored
Normal file → Executable file
0
testdata/rproxy3server.crt
vendored
Normal file → Executable file
0
testdata/rproxy3server.key
vendored
Normal file → Executable file
0
testdata/rproxy3server.key
vendored
Normal file → Executable file
0
testdata/rproxy3server.pkcs12
vendored
Normal file → Executable file
0
testdata/rproxy3server.pkcs12
vendored
Normal file → Executable file
Reference in New Issue
Block a user