Documentation ¶
Overview ¶
Package model Date: 2022/11/9 10:18 Author: Amu Description:
Package model Date: 2024/3/6 11:06 Author: Amu Description:
Package model Date: 2024/3/6 11:05 Author: Amu Description:
Package model Date: 2024/3/6 11:05 Author: Amu Description:
Package model Date: 2024/3/27 16:49 Author: Amu Description:
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet(NewModels)
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Container ¶
type Containers ¶
type Containers []Container
type Disk ¶
type Docker ¶
type Host ¶
type Image ¶
type Memory ¶
type Models ¶
type Models struct{}
func (*Models) GetAllModels ¶
func (a *Models) GetAllModels() []interface{}
type User ¶
type User struct { ID uuid.UUID `gorm:"type:uuid;primaryKey;comment:唯一标识"` CreatedAt time.Time `gorm:"comment:创建时间"` UpdatedAt time.Time `gorm:"comment:更新时间"` Username string `gorm:"size:255;uniqueIndex;not null;comment:用户名"` Password string `gorm:"size:128;not null;comment:密码"` Remark *string `gorm:"size:200;comment:备注"` IsAdmin string `gorm:"default:'0';comment:是否是管理员('1':是 '0':否)"` Status int `gorm:"index;default:0;comment:状态(1:启用 0:停用)"` }
Click to show internal directories.
Click to hide internal directories.