Documentation ¶
Index ¶
- type EventHandler
- func (eh *EventHandler) DeleteEvents(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
- func (ph *EventHandler) GetEvents(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (ph *EventHandler) GetSingleEvent(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
- func (ph *EventHandler) PostEvent(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (ph *EventHandler) PutEvent(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(ES Event.EventService) *EventHandler
func (*EventHandler) DeleteEvents ¶
func (eh *EventHandler) DeleteEvents(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
func (*EventHandler) GetEvents ¶
func (ph *EventHandler) GetEvents(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*EventHandler) GetSingleEvent ¶
func (ph *EventHandler) GetSingleEvent(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
func (*EventHandler) PostEvent ¶
func (ph *EventHandler) PostEvent(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*EventHandler) PutEvent ¶
func (ph *EventHandler) PutEvent(w http.ResponseWriter, r *http.Request, pr httprouter.Params)
Click to show internal directories.
Click to hide internal directories.