Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultConfig = adminpanel.DefaultAdminConfig
DefaultConfig provides default configuration settings for the admin panel.
var NewPanel = adminpanel.NewAdminPanel
NewPanel creates a new admin panel with the given ORM integrator, web integrator, permission function, and configuration.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App = adminpanel.App
App represents an application within the admin panel, grouping related models together.
type Config ¶
type Config = adminpanel.AdminConfig
Config holds configuration settings for the admin panel.
type HandlerFunc ¶
type HandlerFunc = adminpanel.HandlerFunc
HandlerFunc represents a handler function used in the admin panel routes.
type ORMIntegrator ¶
type ORMIntegrator = adminpanel.ORMIntegrator
ORMIntegrator defines the interface for ORM integrations with the admin panel.
type Panel ¶
type Panel = adminpanel.AdminPanel
Panel represents the admin panel, which manages apps, models, and permissions.
type PermissionFunc ¶
type PermissionFunc = adminpanel.PermissionFunc
PermissionFunc defines a function type for checking permissions in the admin panel.
type PermissionRequest ¶
type PermissionRequest = adminpanel.PermissionRequest
PermissionRequest represents a request for permission to perform an action in the admin panel.
type TemplateRenderer ¶
type TemplateRenderer = adminpanel.TemplateRenderer
TemplateRenderer defines the interface for rendering templates in the admin panel.
type WebIntegrator ¶
type WebIntegrator = adminpanel.WebIntegrator
WebIntegrator defines the interface for web framework integrations with the admin panel.