Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownAuthLevel = errors.New("auth level unknown")
Functions ¶
This section is empty.
Types ¶
type AuthLevel ¶
type AuthLevel int
AuthLevel is a type for storing a users auth level
const ( // Unverified is the auth level that represents a user who has not yet verified their email Unverified AuthLevel = iota // Applicant is the auth level that represents a user who has not yet received and accepted an invite Applicant // Attendee is the auth level that represents a user who has received and accepted an invite Attendee // Volunteer is the auth level that represents a user who has access to volunteer features Volunteer // Organiser is the auth level that represents a user who has access to all features Organiser )
func (AuthLevel) MarshalJSON ¶
func (*AuthLevel) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.