handlers

package
v0.0.0-...-690d12d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsHandler

type EventsHandler struct {
	EventRepo repos.EventRepo
	Emitter   kafkabus.Emitter
}

func NewEventsHandler

func NewEventsHandler(r repos.EventRepo, e kafkabus.Emitter) *EventsHandler

func (*EventsHandler) EventsCreate

func (h *EventsHandler) EventsCreate(w http.ResponseWriter, r *http.Request)

func (*EventsHandler) EventsIndex

func (h *EventsHandler) EventsIndex(w http.ResponseWriter, r *http.Request)

type HealthzHandler

type HealthzHandler struct {
	// contains filtered or unexported fields
}

func NewHealthzHandler

func NewHealthzHandler(checkers map[string]checker.Checker) *HealthzHandler

func (*HealthzHandler) HealthzIndex

func (h *HealthzHandler) HealthzIndex(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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