Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteHandler ¶
type RouteHandler struct {
Meeting *mongo.Collection
}
RouteHandler stores mongo client
func NewRouteHandler ¶
func NewRouteHandler(Meeting *mongo.Collection) *RouteHandler
NewRouteHandler returns a RouteHandler object
func (*RouteHandler) MeetingController ¶
func (router *RouteHandler) MeetingController(w http.ResponseWriter, r *http.Request)
MeetingController handles requests to /meetings
func (*RouteHandler) MeetingsController ¶
func (router *RouteHandler) MeetingsController(w http.ResponseWriter, r *http.Request)
MeetingsController handles requests to /meetings
Click to show internal directories.
Click to hide internal directories.