feat: add bookmarks

This commit is contained in:
mildred 2019-05-25 09:05:31 +01:00 committed by Henrique Dias
parent a548aa7e75
commit a62de5a9af

View File

@ -57,6 +57,7 @@ func NewHandler(storage *storage.Storage, server *settings.Server) (http.Handler
api.Handle("/settings", monkey(settingsGetHandler, "")).Methods("GET")
api.Handle("/settings", monkey(settingsPutHandler, "")).Methods("PUT")
api.Handle("/context", monkey(contextGetHandler, "")).Methods("GET")
api.PathPrefix("/raw").Handler(monkey(rawHandler, "/api/raw")).Methods("GET")
api.PathPrefix("/command").Handler(monkey(commandsHandler, "/api/command")).Methods("GET")
api.PathPrefix("/search").Handler(monkey(searchHandler, "/api/search")).Methods("GET")