Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginatedListTeams ¶
type PaginatedListTeams struct { Limit *float32 `json:"limit,omitempty"` Offset *float32 `json:"offset,omitempty"` Results *[]openapi.Team `json:"results,omitempty"` Total *float32 `json:"total,omitempty"` }
PaginatedListTeams ...
type PaginatedResult ¶
type PaginatedResult struct { Limit float32 `json:"limit,omitempty"` Offset float32 `json:"offset,omitempty"` Total float32 `json:"total,omitempty"` }
PaginatedResult ...
type Permission ¶
type Permission struct { ID uint `gorm:"primaryKey"` Slug string Description *string CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time gorm.Model }
Permission ...
type Role ¶
type Role struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` Name string CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time gorm.Model }
Role ...
type RolePermission ¶
type RolePermission struct { ID uint `gorm:"primaryKey"` RoleID uuid.UUID Role Role PermissionID uuid.UUID Permission Permission }
RolePermission ...
type System ¶
type System struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` Name string Description *string CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time gorm.Model }
System ...
type Team ¶
type Team struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` Name string Description *string Systems *[]System `gorm:"many2many:team_systems;"` CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time gorm.Model }
Team ...
type User ¶
type User struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` Name string CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time }
User ...
Click to show internal directories.
Click to hide internal directories.