Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateType ¶ added in v1.4.0
type CreateType uint8
const ( // LDAP LDAP创建 LDAP CreateType = 1 // SYSTEM 系统创建 SYSTEM CreateType = 2 )
func (CreateType) ToUint8 ¶ added in v1.4.0
func (s CreateType) ToUint8() uint8
type FeishuInfo ¶ added in v1.6.0
type FeishuInfo struct {
UserId string `json:"user_id"`
}
type User ¶
type User struct {
Id int64 `json:"id"`
DepartmentId int64 `json:"department_id"`
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
Title string `json:"title"`
DisplayName string `json:"display_name"`
Status Status `json:"status"`
CreateType CreateType `json:"create_type"`
RoleCodes []string `json:"role_codes"`
FeishuInfo FeishuInfo `json:"feishu_info"`
WechatInfo WechatInfo `json:"wechat_info"`
}
type UserCombination ¶ added in v1.6.0
type WechatInfo ¶ added in v1.6.0
type WechatInfo struct {
UserId string `json:"user_id"`
}
Click to show internal directories.
Click to hide internal directories.