handlers

package
v0.0.0-...-ade0808 Latest Latest
Warning

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

Go to latest
Published: May 21, 2017 License: MIT Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckersHandler

type CheckersHandler struct {
	CheckerService gopatrol.CheckersService
	CacheService   gopatrol.CacheService
}

func (*CheckersHandler) AddRoutes

func (h *CheckersHandler) AddRoutes(router *mux.Router, isUnixDomain bool)

func (*CheckersHandler) CreateChecker

func (h *CheckersHandler) CreateChecker(res http.ResponseWriter, req *http.Request)

func (*CheckersHandler) DeleteOneBySlug

func (h *CheckersHandler) DeleteOneBySlug(res http.ResponseWriter, req *http.Request)

func (*CheckersHandler) GetAllEndpoints

func (h *CheckersHandler) GetAllEndpoints(res http.ResponseWriter, req *http.Request)

func (*CheckersHandler) GetOneBySlug

func (h *CheckersHandler) GetOneBySlug(res http.ResponseWriter, req *http.Request)

func (*CheckersHandler) GetStatisticCheckers

func (h *CheckersHandler) GetStatisticCheckers(res http.ResponseWriter, req *http.Request)

type EventsHandlers

type EventsHandlers struct {
	EventService gopatrol.EventService
	CacheService gopatrol.CacheService
}

func (*EventsHandlers) AddRoutes

func (h *EventsHandlers) AddRoutes(router *mux.Router, isUnixDomain bool)

func (*EventsHandlers) GetAllEvents

func (h *EventsHandlers) GetAllEvents(res http.ResponseWriter, req *http.Request)

type UsersHandler

type UsersHandler struct {
	UsersService gopatrol.UsersService
}

func (*UsersHandler) AddRoutes

func (h *UsersHandler) AddRoutes(router *mux.Router, isUnixDomain bool)

func (*UsersHandler) CreateUser

func (h *UsersHandler) CreateUser(res http.ResponseWriter, req *http.Request)

func (*UsersHandler) Login

func (h *UsersHandler) Login(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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