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

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