Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountResult ¶ added in v0.4.0
type CountResult struct {
Count int `gorm:"column:count"`
}
CountResult ...
type OperationLog ¶ added in v0.3.0
type OperationLog struct { ID int64 `gorm:"column:id"` CreatedAt time.Time `gorm:"column:created_at"` Operator string `gorm:"column:operator"` // 操作人 Object string `gorm:"column:object"` // 操作对象 Action string `gorm:"column:action"` // 操作行为 // Content 操作内容 Content string `gorm:"column:content"` Desc string `gorm:"column:description"` // 操作说明 }
OperationLog 详见 ./sql/schema.sql table `operation_log` 操作日志
func (OperationLog) TableName ¶ added in v0.3.0
func (OperationLog) TableName() string
TableName retuns table name
type UrbsAcAcl ¶ added in v0.3.0
type UrbsAcAcl struct { ID int64 `gorm:"column:id"` CreatedAt time.Time `gorm:"column:created_at"` Subject string `gorm:"column:subject"` // who Object string `gorm:"object:object"` // what Permission string `gorm:"column:permission"` // How }
UrbsAcAcl 详见 ./sql/schema.sql table `urbs_ac_acl` 用户访问控制
type UrbsAcUser ¶ added in v0.3.0
type UrbsAcUser struct { ID int64 `gorm:"column:id" json:"-"` CreatedAt time.Time `gorm:"column:created_at" json:"createdAt"` UID string `gorm:"column:uid" json:"uid"` Name string `gorm:"column:name" json:"name"` }
UrbsAcUser 详见 ./sql/schema.sql table `urbs_ac_user` 用户表
func (UrbsAcUser) TableName ¶ added in v0.3.0
func (UrbsAcUser) TableName() string
TableName retuns table name
Click to show internal directories.
Click to hide internal directories.