custom

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomRequestHandler

func CustomRequestHandler(cfgProvider configfx.Provider, logger *slog.Logger, redis rediscli.Client) gin.HandlerFunc

CustomRequestHandler mirrors the original logic for executing custom Lua hooks.

Types

type Handler

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

Handler registers custom Lua hook endpoint(s).

func New

func New() *Handler

func NewWithDeps added in v1.12.0

func NewWithDeps(cfgProvider configfx.Provider, logger *slog.Logger, redis rediscli.Client) *Handler

func (*Handler) Register

func (h *Handler) Register(r gin.IRouter)

Jump to

Keyboard shortcuts

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