| 107 | } |
| 108 | |
| 109 | type rawConfig struct { |
| 110 | OriginURL *string |
| 111 | ProxyURL *string |
| 112 | ListenURL *string // Not actually a URL. This is a TCP socket address, i.e.: 'host:port'. |
| 113 | SSOURL *string |
| 114 | SSOSecret *string |
| 115 | AllowAll *bool |
| 116 | AllowGroups *string |
| 117 | BasicAuth *string |
| 118 | Whitelist *string |
| 119 | WhitelistPrefix *string |
| 120 | UsernameHeader *string |
| 121 | GroupsHeader *string |
| 122 | Timeout *int |
| 123 | SRVAbandonAfter *int |
| 124 | LogRequests *bool |
| 125 | } |
| 126 | |
| 127 | func parseRawConfig() *rawConfig { |
| 128 | c := &rawConfig{ |
nothing calls this directly
no outgoing calls
no test coverage detected