Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MongoConnect ¶
MongoConnect returns a client through which you can connect to MongoDB
Types ¶
type Meeting ¶
type Meeting struct { ID string `bson:"id" json:"id"` Title string `bson:"title" json:"title"` Participants []Participant `bson:"participants" json:"participants"` StartTime int64 `bson:"startTime" json:"startTime"` EndTime int64 `bson:"endTime" json:"endTime"` CreatedAt int64 `bson:"createdAt" json:"createdAt"` }
Meeting is a struct defining the meeting object
type Participant ¶
type Participant struct { Name string `bson:"name" json:"name"` Email string `bson:"email" json:"email"` RSVP string `bson:"rsvp" json:"rsvp"` }
Participant is a struct defining the participant object
Click to show internal directories.
Click to hide internal directories.