{"modulePath":"github.com/NSObjects/echo-admin","version":"v0.0.0-20261123060830-db778388ce95","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package http\n\nPackage http exposes system first-initialization endpoints.\n\n## Functions\n\n```go\nfunc Register(group *echo.Group, handler *Handler)\n```\nRegister mounts setup routes on group.\n\n## Types\n\n```go\ntype Handler struct {\n\t// contains filtered or unexported fields\n}\n```\nHandler serves setup endpoints.\n\n```go\nfunc New(setupUsecase SetupUsecase) *Handler\n```\nNew creates a setup HTTP handler.\n\n```go\nfunc (h *Handler) State(c *echo.Context) error\n```\nState returns whether system first initialization has completed.\n\n```go\nfunc (h *Handler) Submit(c *echo.Context) error\n```\nSubmit completes system first initialization.\n\n```go\ntype SetupUsecase interface {\n\tState(context.Context) (usecase.State, error)\n\tSubmit(context.Context, usecase.SubmitInput) (usecase.State, error)\n}\n```\nSetupUsecase contains the setup workflows needed by the HTTP adapter.\n\n","path":"github.com/NSObjects/echo-admin/internal/modules/setup/http","name":"http","synopsis":"Package http exposes system first-initialization endpoints.","isRedistributable":true}
