2023-11-13 17:52:20 +08:00
|
|
|
package config
|
|
|
|
|
2023-11-14 11:45:25 +08:00
|
|
|
import (
|
|
|
|
"fusenapi/server/ldap-admin/internal/types"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
2023-11-13 17:52:20 +08:00
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
|
|
|
SourceRabbitMq string
|
2023-11-14 17:33:05 +08:00
|
|
|
Ldap struct {
|
2023-11-16 11:33:26 +08:00
|
|
|
Host string
|
|
|
|
BindDN string
|
|
|
|
Password string
|
|
|
|
BaseDN string
|
|
|
|
RootDN string
|
2023-11-16 16:57:29 +08:00
|
|
|
PeopleGroupDN string
|
2023-11-14 17:33:05 +08:00
|
|
|
}
|
2023-11-13 17:52:20 +08:00
|
|
|
}
|