Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Permissible ¶
type User ¶
type User struct { Id int Name string Email string PasswordDigest string CreatedAt time.Time UpdatedAt time.Time EmailConfirmationToken *string IsEmailConfirmed bool }
func (*User) CanCreate ¶
func (u *User) CanCreate(resource Permissible) bool
func (*User) CanDelete ¶
func (u *User) CanDelete(resource Permissible) bool
func (*User) CanUpdate ¶
func (u *User) CanUpdate(resource Permissible) bool
func (*User) CanView ¶
func (u *User) CanView(resource Permissible) bool
Click to show internal directories.
Click to hide internal directories.