From d98703610d868fd3f2399e57a569621d1e8ddafc Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Sun, 3 Nov 2019 07:56:43 -0700 Subject: [PATCH] remove unused and rename --- config/config.go | 6 +----- conf.yaml => example_config.yaml | 0 2 files changed, 1 insertion(+), 5 deletions(-) rename conf.yaml => example_config.yaml (100%) diff --git a/config/config.go b/config/config.go index 6646b39..833318b 100644 --- a/config/config.go +++ b/config/config.go @@ -7,8 +7,7 @@ import ( ) type Proxy struct { - To string - BOAuthZ bool + To string } func parseProxy(s string) (string, Proxy) { @@ -21,9 +20,6 @@ func parseProxy(s string) (string, Proxy) { if len(l) > 1 { p.To = l[1] } - if len(l) > 2 { - p.BOAuthZ = l[2] == "true" - } return key, p } diff --git a/conf.yaml b/example_config.yaml similarity index 100% rename from conf.yaml rename to example_config.yaml