aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-07-18 18:29:47 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-07-18 18:29:47 +0200
commit586bb646cf388b2bb6902b755a6967e4d007a63f (patch)
treeddf12a4bda3e32240aa79cafcaa73fa3893b8418 /config.go
parentcb89b84247a84f5e7f3e71556a10026e7db671f6 (diff)
allow postgres to be used as the auth backend
Diffstat (limited to 'config.go')
-rw-r--r--config.go27
1 files changed, 14 insertions, 13 deletions
diff --git a/config.go b/config.go
index e141bbc..6db6dda 100644
--- a/config.go
+++ b/config.go
@@ -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