Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶ added in v0.1.1
type App struct {
Router chi.Router
Config *Config
DAO relationdbdao.IPrimaryDao
EntityService services.IEntityService
SchemaService services.ISchemaService
AuthService services.IAuthService
PageService *services.PageService
PermissionService *services.PermissionService
A2UIService *services.A2UIService
}
App represents the initialized AiGen CMS application.
type Config ¶
type Config struct {
AppsDir string `yaml:"apps_dir" json:"apps_dir"`
WWWRoot string `yaml:"www_root" json:"www_root"`
DatabaseType string `yaml:"database_type" json:"database_type"`
DatabaseDSN string `yaml:"database_dsn" json:"database_dsn"`
Domain string `yaml:"domain" json:"domain"`
Port string `yaml:"port" json:"port"`
AgenticConfigPath string `yaml:"agentic_config_path" json:"agentic_config_path"`
Channels descriptors.ChannelsConfig `yaml:"channels" json:"channels"`
MCP descriptors.MCPConfig `yaml:"mcp" json:"mcp"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.