Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(es *data.EventService) *Handler
func (*Handler) GetEventTalksHandler ¶
func (h *Handler) GetEventTalksHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) GetEventsHandler ¶
func (h *Handler) GetEventsHandler(w http.ResponseWriter, r *http.Request)
type ResponseType ¶
type ResponseType interface { data.Events | data.Talks | ErrorResponse }
Click to show internal directories.
Click to hide internal directories.