Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserItem ¶
type CreateUserItem struct {
Username string `json:"username,omitempty"`
Nickname string `json:"nickname,omitempty"`
Mobile string `json:"mobile,omitempty"`
Email string `json:"email,omitempty"`
Password string `json:"password"`
Avatar string `json:"avatar,omitempty"`
Channel string `json:"channel,omitempty"`
ChannelType string `json:"channelType,omitempty"`
Extra interface{} `json:"extra,omitempty"`
Source string `json:"source,omitempty"`
SourceType string `json:"sourceType,omitempty"`
Tag string `json:"tag,omitempty"`
UserDetail interface{} `json:"userDetail,omitempty"`
}
type CreateUserRequest ¶
type CreateUserRequest struct {
Users []*CreateUserItem `json:"users"`
}
type LoginTypes ¶
type LoginTypes struct {
RegistryType []string `json:"registryType"`
}
type PwdSecurityConfig ¶
type Response ¶
type Response[T any] struct { ResponseMeta Result T `json:"result"` }
Response uc standard response dto
type ResponseMeta ¶
type TimestampMs ¶
func (TimestampMs) MarshalJSON ¶
func (t TimestampMs) MarshalJSON() ([]byte, error)
func (*TimestampMs) UnmarshalJSON ¶
func (t *TimestampMs) UnmarshalJSON(data []byte) error
type UpdateUserInfoRequest ¶
type UserDto ¶
type UserDto struct {
Id interface{} `json:"id"`
Avatar string `json:"avatar"`
Username string `json:"username"`
Nickname string `json:"nickname"`
Mobile string `json:"mobile"`
Email string `json:"email"`
Enabled bool `json:"enabled"`
UserDetail interface{} `json:"userDetail"`
Locked bool `json:"locked"`
PasswordExist bool `json:"passwordExist"`
PwdExpireAt *TimestampMs `json:"pwdExpireAt"`
Extra interface{} `json:"extra"`
Source string `json:"source"`
SourceType string `json:"sourceType"`
Tag string `json:"tag"`
Channel string `json:"channel"`
ChannelType string `json:"channelType"`
TenantId int `json:"tenantId"`
CreatedAt TimestampMs `json:"createdAt"`
UpdatedAt *TimestampMs `json:"updatedAt"`
LastLoginAt *TimestampMs `json:"lastLoginAt"`
}
type UserPaging ¶
Click to show internal directories.
Click to hide internal directories.