Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Middleware *negroni.Negroni ScheduleCreator schedules.ScheduleCreator AutoCompleter schedules.AutoCompleter }
Server runs the backend server.
func (*Server) AutocompleteHandler ¶
func (s *Server) AutocompleteHandler(w http.ResponseWriter, r *http.Request)
AutocompleteHandler handles the autocomplete endpoint
func (*Server) SchedulesHandler ¶
func (s *Server) SchedulesHandler(w http.ResponseWriter, r *http.Request)
SchedulesHandler handles the schedule endpoint
type StandardResponse ¶
type StandardResponse struct { OK bool `json:"OK"` Status int `json:"status"` Body interface{} `json:"body"` }
StandardResponse is the default response from the server.
Click to show internal directories.
Click to hide internal directories.