handler

package
v0.0.0-...-8ed6344 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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