models

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: NCSA Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminRole     = "Admin"
	StaffRole     = "Staff"
	MentorRole    = "Mentor"
	ApplicantRole = "Applicant"
	AttendeeRole  = "Attendee"
	UserRole      = "User"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckinList

type CheckinList struct {
	CheckedInUsers []string `json:"checkedInUsers"`
}

type Role

type Role = string

type UserCheckin

type UserCheckin struct {
	ID              string `json:"id"`
	Override        bool   `json:"override"`
	HasCheckedIn    bool   `json:"hasCheckedIn"`
	HasPickedUpSwag bool   `json:"hasPickedUpSwag"`
}

type UserRoleModification

type UserRoleModification struct {
	ID   string `json:"id"`
	Role string `json:"role"`
}

type UserRsvp

type UserRsvp struct {
	ID          string `json:"id"`
	IsAttending bool   `json:"isAttending"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL