Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { AccessTokenID uint32 `gorm:"primary_key"` TokenHash string Name string Description string ProjectID uint32 ExpiredAt time.Time LastUpdatedUserID uint32 CreatedAt time.Time UpdatedAt time.Time }
AccessToken entity model
type AccessTokenRole ¶
type AccessTokenRole struct { AccessTokenID uint32 RoleID uint32 CreatedAt time.Time UpdatedAt time.Time }
AccessTokenRole entity model
type Policy ¶
type Policy struct { PolicyID uint32 `gorm:"primary_key"` Name string ProjectID uint32 ActionPtn string ResourcePtn string CreatedAt time.Time UpdatedAt time.Time }
Policy entity model
type Role ¶
type Role struct { RoleID uint32 `gorm:"primary_key"` Name string ProjectID uint32 CreatedAt time.Time UpdatedAt time.Time }
Role entity model
type RolePolicy ¶
type RolePolicy struct { RoleID uint32 PolicyID uint32 ProjectID uint32 CreatedAt time.Time UpdatedAt time.Time }
RolePolicy entity model
Click to show internal directories.
Click to hide internal directories.