Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventServiceHandler ¶
type EventServiceHandler struct {
// contains filtered or unexported fields
}
func NewEventServiceHandler ¶
func NewEventServiceHandler(databaseHandler persistence.DatabaseHandler, eventEmitter msgqueue.EventEmitter) *EventServiceHandler
func (*EventServiceHandler) AllEventsHandler ¶
func (eh *EventServiceHandler) AllEventsHandler(w http.ResponseWriter, r *http.Request)
func (*EventServiceHandler) FindEventsHandler ¶
func (eh *EventServiceHandler) FindEventsHandler(w http.ResponseWriter, r *http.Request)
FindEventsHandler handles searchcriteria and searchterm. GET /events/{SearchCriteria}/{search}
func (*EventServiceHandler) NewEventHandler ¶
func (eh *EventServiceHandler) NewEventHandler(w http.ResponseWriter, r *http.Request)
NewEventHandler handles creation of new event and publishing the createdevent to msgbroker
Click to show internal directories.
Click to hide internal directories.