handler

package
v0.0.0-...-b6575a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL