handler

package
v0.8.87 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodyDump

func BodyDump(c *fiber.Ctx, GetGridMODEL func(schema_id string) datagrid.Datagrid, GetMODEL func(schema_id string) dataform.Dataform) error

func CrudLogHistory

func CrudLogHistory(c *fiber.Ctx) error

func CrudLogger

func CrudLogger(UserAgent string, IP string, action string, resBody []byte, userID interface{}, schemaId int64, RowId string)

func GetID

func GetID(idPre interface{}) string

func GetLogActions added in v0.8.87

func GetLogActions(c *fiber.Ctx) error

Handler to get unique actions (for filter dropdown)

func GetLogCategories added in v0.8.87

func GetLogCategories(c *fiber.Ctx) error

Handler to get unique categories (based on vb_schemas.name) that have associated logs

func GetLogChartAction added in v0.8.87

func GetLogChartAction(c *fiber.Ctx) error

Chart: Log by Action

func GetLogChartCategory added in v0.8.87

func GetLogChartCategory(c *fiber.Ctx) error

Chart: Log by Category

func GetLogChartHourly added in v0.8.87

func GetLogChartHourly(c *fiber.Ctx) error

Creative Chart: Log by Hour (Hourly distribution, e.g., peak hours)

func GetLogChartMonthly added in v0.8.87

func GetLogChartMonthly(c *fiber.Ctx) error

Chart: Monthly Log Count (Bar)

func GetLogChartType added in v0.8.87

func GetLogChartType(c *fiber.Ctx) error

Chart: Log by Type

func GetLogChartUser added in v0.8.87

func GetLogChartUser(c *fiber.Ctx) error

Chart: Log by User

func GetLogs added in v0.8.87

func GetLogs(c *fiber.Ctx) error

Handler to fetch logs with filters and pagination

Types

This section is empty.

Jump to

Keyboard shortcuts

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