diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-07-18 18:29:47 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-07-18 18:29:47 +0200 |
commit | 586bb646cf388b2bb6902b755a6967e4d007a63f (patch) | |
tree | ddf12a4bda3e32240aa79cafcaa73fa3893b8418 /config.go | |
parent | cb89b84247a84f5e7f3e71556a10026e7db671f6 (diff) |
allow postgres to be used as the auth backend
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 27 |
1 files changed, 14 insertions, 13 deletions
@@ -34,19 +34,20 @@ type Server struct { // A Config contains information from the configuration file // that affects the way the proxy works. type Config struct { - NoPlugins bool - CmdPrefix string - RequirePasswd bool - SendInterval float32 - UserLimit int - AuthBackend string - NoTelnet bool - TelnetAddr string - BindAddr string - Servers map[string]Server - ForceDefaultSrv bool - FallbackServers []string - CSMRF struct { + NoPlugins bool + CmdPrefix string + RequirePasswd bool + SendInterval float32 + UserLimit int + AuthBackend string + AuthPostgresConn string + NoTelnet bool + TelnetAddr string + BindAddr string + Servers map[string]Server + ForceDefaultSrv bool + FallbackServers []string + CSMRF struct { NoCSMs bool ChatMsgs bool ItemDefs bool |