admin

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 9 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 NewHandler

func NewHandler(
	reindexer *search.Reindexer,
	userService user.Service,
	authService auth.Service,
	config *config.Config,
) *Handler

func (*Handler) Routes

func (h *Handler) Routes() []common.Route

type ReindexAcceptedResponse

type ReindexAcceptedResponse struct {
	Status  string `json:"status" example:"accepted"`
	Message string `json:"message" example:"Reindex started"`
}

type ReindexStatusResponse

type ReindexStatusResponse struct {
	Running      bool `json:"running"`
	ESConfigured bool `json:"es_configured"`
}

Jump to

Keyboard shortcuts

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