controllers

package
v0.0.0-...-5e137a4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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