1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 06:20:54 +02:00

Restructure configuration

This commit is contained in:
Alexandre Iooss
2020-09-22 11:42:57 +02:00
parent c799a5b613
commit 5ac336393b
11 changed files with 107 additions and 104 deletions

11
auth/auth.go Normal file
View File

@ -0,0 +1,11 @@
package auth
import (
"gitlab.crans.org/nounous/ghostream/auth/ldap"
)
// Options holds web package configuration
type Options struct {
Backend string
LDAP ldap.Options
}

7
auth/ldap/ldap.go Normal file
View File

@ -0,0 +1,7 @@
package ldap
// Options holds web package configuration
type Options struct {
URI string
UserDn string
}