pkg/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package admin provides the admin backend management system.
Package admin provides the admin backend management system.
crud
Package crud provides a generic CRUD engine for GORM models.
Package crud provides a generic CRUD engine for GORM models.
front
Package front embeds and serves the AdminBox Vue frontend UI.
Package front embeds and serves the AdminBox Vue frontend UI.
handler
Package handler provides HTTP handler functions for admin management APIs.
Package handler provides HTTP handler functions for admin management APIs.
model
Package model defines GORM model structs for admin business entities.
Package model defines GORM model structs for admin business entities.
Package cache provides in-memory caching with a built-in captcha store.
Package cache provides in-memory caching with a built-in captcha store.
Package casbin provides a singleton Casbin enforcer for RBAC authorization.
Package casbin provides a singleton Casbin enforcer for RBAC authorization.
Package config provides configuration management powered by Viper.
Package config provides configuration management powered by Viper.
Package db provides database connection management via GORM.
Package db provides database connection management via GORM.
Package httpServer provides the core HTTP server framework.
Package httpServer provides the core HTTP server framework.
Package jwt provides JWT token creation and parsing.
Package jwt provides JWT token creation and parsing.
Package log provides structured logging based on Zap.
Package log provides structured logging based on Zap.
Package middleware provides a collection of Gin HTTP middlewares.
Package middleware provides a collection of Gin HTTP middlewares.
Package request provides request parameter parsing and helper types.
Package request provides request parameter parsing and helper types.
Package response provides standardized JSON response formatting for Gin.
Package response provides standardized JSON response formatting for Gin.
Package upload provides a unified file upload abstraction over multiple storage backends.
Package upload provides a unified file upload abstraction over multiple storage backends.
Package util provides general-purpose utility functions.
Package util provides general-purpose utility functions.

Jump to

Keyboard shortcuts

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