models

package
v0.0.0-...-2dae30e Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	StatusCode   int    `json:"status_code"`
	ErrorMessage string `json:"error_message"`
}

type Meeting

type Meeting struct {
	ID               primitive.ObjectID `bson:"_id"`
	Title            string             `json:"title,omitempty" bson:"title"`
	ParticipantsList []*Participant     `json:"participantsList" bson:"participantsList"`
	StartTime        string             `json:"startTime,omitempty" bson:"startTime"`
	EndTime          string             `json:"endTime,omitempty" bson:"endTime"`
	CreationTime     string             `json:"creationTime,omitempty" bson:"creationTime"`
}

type MeetingScheduled

type MeetingScheduled struct {
	Meeting_ID string `json:"meetingID"`
}

type Participant

type Participant struct {
	Name  string `json:"name,omitempty" bson:"name"`
	Email string `json:"email,omitempty" bson:"email"`
	RSVP  string `json:"rsvp,omitempty" bson:"rsvp"`
}

Jump to

Keyboard shortcuts

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