bootstrap

package
v0.0.0-...-f71af34 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

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 New

func New(params NewParams) *Handler

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
}

Jump to

Keyboard shortcuts

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