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