Documentation ¶
Index ¶
- func DBMiddleware(session *mgo.Session, DBNAME string) negroni.Handler
- func HandleSnapshots(w http.ResponseWriter, r *http.Request)
- func Launch(dbSession *mgo.Session, DBNAME, PORT string)
- func RespondWithError(w http.ResponseWriter, r *http.Request, err error, code int)
- func ServeJSON(w http.ResponseWriter, r *http.Request, response *Response, code int)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBMiddleware ¶
func HandleSnapshots ¶
func HandleSnapshots(w http.ResponseWriter, r *http.Request)
func RespondWithError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.