Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements a health check HTTP handler.
func NewHandler ¶
func NewHandler(pubSub pubSub, vctService vctService, db db, keyManager keyManager, maintenanceMode bool) *Handler
NewHandler returns a new health check handler.
func (*Handler) Handler ¶
func (h *Handler) Handler() common.HTTPRequestHandler
Handler returns the handler that should be invoked when an HTTP POST is requested to the target endpoint. This handler must be registered with an HTTP server.
Click to show internal directories.
Click to hide internal directories.