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
}
func (*Handler) Check ¶
func (h *Handler) Check(w http.ResponseWriter, r *http.Request)
Check godoc @Description check if the bootstrap process is already done. @Failure 400 {object} responder.DetailResponse @Router /bootstrap [get] @Success 200 @Summary Check bootstrap status @Tags boostrap
func (*Handler) Run ¶
func (h *Handler) Run(w http.ResponseWriter, r *http.Request)
Run godoc @Description check if the bootstrap process is already done. @Param params body poeticmetric.BootstrapServiceRunParams true "Params" @Router /bootstrap [post] @Success 201 @Summary Run bootstrap @Tags boostrap
type NewParams ¶
type NewParams struct {
BootstrapService poeticmetric.BootstrapService
Responder poeticmetric.RestApiResponder
}
Click to show internal directories.
Click to hide internal directories.