mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-11-04 20:22:34 +01:00
Restructure configuration
This commit is contained in:
11
auth/auth.go
Normal file
11
auth/auth.go
Normal 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
7
auth/ldap/ldap.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package ldap
|
||||
|
||||
// Options holds web package configuration
|
||||
type Options struct {
|
||||
URI string
|
||||
UserDn string
|
||||
}
|
||||
Reference in New Issue
Block a user