Documentation ¶
Index ¶
- func CreateParticipant(client *mongo.Client, participant models.Participant) interface{}
- func ExtractParam(r *http.Request) string
- func GetClient() *mongo.Client
- func GetMeetingsInDuration(client *mongo.Client, start time.Time, end time.Time) ([]*models.Meeting, bool)
- func GetMeetingsOfParticipant(client *mongo.Client, participant_id string) ([]*models.Meeting, bool)
- func GetParticipant(client *mongo.Client, filter bson.M) models.Participant
- func InternalError(w http.ResponseWriter)
- func InvalidRequest(w http.ResponseWriter, statCode int, message string)
- func ReturnMeeting(client *mongo.Client, filter bson.M) (models.Meeting, bool)
- func ReturnMeetings(client *mongo.Client, filter bson.M) ([]*models.Meeting, bool)
- func ReturnParticipants(client *mongo.Client, filter bson.M) []*models.Participant
- func ScheduleNewMeeting(client *mongo.Client, meeting models.Meeting) (interface{}, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateParticipant ¶
func CreateParticipant(client *mongo.Client, participant models.Participant) interface{}
func ExtractParam ¶
func GetMeetingsInDuration ¶
func GetParticipant ¶
func InternalError ¶
func InternalError(w http.ResponseWriter)
func InvalidRequest ¶
func InvalidRequest(w http.ResponseWriter, statCode int, message string)
func ReturnMeetings ¶
func ReturnParticipants ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.