Documentation ¶
Index ¶
- type CheckersHandler
- func (h *CheckersHandler) AddRoutes(router *mux.Router, isUnixDomain bool)
- func (h *CheckersHandler) CreateChecker(res http.ResponseWriter, req *http.Request)
- func (h *CheckersHandler) DeleteOneBySlug(res http.ResponseWriter, req *http.Request)
- func (h *CheckersHandler) GetAllEndpoints(res http.ResponseWriter, req *http.Request)
- func (h *CheckersHandler) GetOneBySlug(res http.ResponseWriter, req *http.Request)
- func (h *CheckersHandler) GetStatisticCheckers(res http.ResponseWriter, req *http.Request)
- type EventsHandlers
- type UsersHandler
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)
Click to show internal directories.
Click to hide internal directories.