Documentation ¶
Index ¶
- func JSON(w http.ResponseWriter, code int, v interface{})
- type APIHandler
- func (h *APIHandler) EventsCreate(w http.ResponseWriter, r *http.Request)
- func (h *APIHandler) EventsDelete(w http.ResponseWriter, r *http.Request)
- func (h *APIHandler) EventsIndex(w http.ResponseWriter, r *http.Request)
- func (h *APIHandler) EventsShow(w http.ResponseWriter, r *http.Request)
- func (h *APIHandler) EventsUpdate(w http.ResponseWriter, r *http.Request)
- func (h *APIHandler) HealthzIndex(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
func JSON(w http.ResponseWriter, code int, v interface{})
Types ¶
type APIHandler ¶
func NewAPIHandler ¶
func NewAPIHandler(r repo.Repo, s scheduler.Scheduler) *APIHandler
func (*APIHandler) EventsCreate ¶
func (h *APIHandler) EventsCreate(w http.ResponseWriter, r *http.Request)
func (*APIHandler) EventsDelete ¶
func (h *APIHandler) EventsDelete(w http.ResponseWriter, r *http.Request)
func (*APIHandler) EventsIndex ¶
func (h *APIHandler) EventsIndex(w http.ResponseWriter, r *http.Request)
func (*APIHandler) EventsShow ¶
func (h *APIHandler) EventsShow(w http.ResponseWriter, r *http.Request)
func (*APIHandler) EventsUpdate ¶
func (h *APIHandler) EventsUpdate(w http.ResponseWriter, r *http.Request)
func (*APIHandler) HealthzIndex ¶
func (h *APIHandler) HealthzIndex(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.