plugin

package
v0.0.0-...-1c7db09 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GetAllPluginStatusResp

type GetAllPluginStatusResp struct {
	SlugName string `json:"slug_name"`
	Enabled  bool   `json:"enabled"`
}

type Handler

type Handler struct{}

func NewHandler

func NewHandler() *Handler

func (*Handler) GetAllPluginStatus

func (h *Handler) GetAllPluginStatus() echo.HandlerFunc

type Repository

type Repository interface {
	GetAll(ctx context.Context, tx *gorm.DB) ([]domain.PluginConfig, error)
	GetWhere(ctx context.Context, tx *gorm.DB, query any, args ...any) gorm.ChainInterface[domain.PluginConfig]
}

func NewRepository

func NewRepository(
	db *gorm.DB,
) Repository

type Route

type Route struct {
	// contains filtered or unexported fields
}

func NewRoute

func NewRoute(
	h *Handler,
) *Route

func (*Route) RegisterPluginRoute

func (r *Route) RegisterPluginRoute(e *echo.Group)

type Service

type Service interface{}

func NewService

func NewService(
	log log.Logger,
	repo Repository,
) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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