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 MailOrder

type MailOrder struct {
	IDs      []string `json:"ids"`
	Template string   `json:"template"`
}

type Role

type Role = string

type UserDecision

type UserDecision struct {
	ID        string `json:"id"`
	Status    string `json:"status"`
	Wave      int    `json:"wave"`
	Finalized bool   `json:"finalized"`
	Timestamp int64  `json:"timestamp"`
}

type UserRoleModification

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

type UserRoles

type UserRoles struct {
	ID    string   `json:"id"`
	Roles []string `json:"roles"`
}

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