Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1/addon/backup
Package backup provides the backup addon API request/response types.
|
Package backup provides the backup addon API request/response types. |
|
v1/addon/mail
Package mail defines the API request/response structures for the mail module.
|
Package mail defines the API request/response structures for the mail module. |
|
v1/addon/sitemap
Package sitemap defines the API request and response structures for the Sitemap SEO addon module.
|
Package sitemap defines the API request and response structures for the Sitemap SEO addon module. |
|
v1/addon/upload
Package upload defines the API request and response structures for the file upload addon module.
|
Package upload defines the API request and response structures for the file upload addon module. |
|
v1/cms/admin
Package admin defines the API request and response structures for CMS admin management endpoints.
|
Package admin defines the API request and response structures for CMS admin management endpoints. |
|
v1/cms/home
Package home defines the API request and response structures for CMS frontend/public endpoints.
|
Package home defines the API request and response structures for CMS frontend/public endpoints. |
|
v1/pms
Package pms defines the API request and response structures for the PMS (Permission Management System) module.
|
Package pms defines the API request and response structures for the PMS (Permission Management System) module. |
|
internal
|
|
|
addon/backup/controller
Package backup provides the backup addon controller.
|
Package backup provides the backup addon controller. |
|
addon/backup/data
Package data provides data transfer objects for the backup addon.
|
Package data provides data transfer objects for the backup addon. |
|
addon/backup/logic/backup
Package backup provides the backup business logic including native and mysqldump drivers.
|
Package backup provides the backup business logic including native and mysqldump drivers. |
|
addon/backup/router
Package router provides the backup addon route registration.
|
Package router provides the backup addon route registration. |
|
addon/backup/service
Package service provides the backup addon service interface.
|
Package service provides the backup addon service interface. |
|
addon/job/logic/task
Package task provides scheduled task function implementations for the job addon.
|
Package task provides scheduled task function implementations for the job addon. |
|
addon/mail/consts
Package consts defines error codes for the mail module.
|
Package consts defines error codes for the mail module. |
|
addon/mail/controller
Package controller defines the HTTP API handlers for the mail module.
|
Package controller defines the HTTP API handlers for the mail module. |
|
addon/mail/data
Package data defines input and output data structures for the mail module.
|
Package data defines input and output data structures for the mail module. |
|
addon/mail/logic
Package mail implements the mail send log service (addon_mail_log CRUD).
|
Package mail implements the mail send log service (addon_mail_log CRUD). |
|
addon/mail/router
Package router defines route bindings for the mail module.
|
Package router defines route bindings for the mail module. |
|
addon/mail/service
Package service defines the service interfaces for the mail module (send + log query).
|
Package service defines the service interfaces for the mail module (send + log query). |
|
addon/mq/logic/mq
Package mq provides a pluggable message queue abstraction with support for Redis, in-memory gqueue, and RabbitMQ (stub) adapters.
|
Package mq provides a pluggable message queue abstraction with support for Redis, in-memory gqueue, and RabbitMQ (stub) adapters. |
|
addon/mq/service
Package service defines the message queue service interface and types used across the mq addon.
|
Package service defines the message queue service interface and types used across the mq addon. |
|
addon/pay/controller
Package controller provides the HTTP controller layer for payment operations.
|
Package controller provides the HTTP controller layer for payment operations. |
|
addon/pay/logic/driver
Package driver defines the payment channel driver interface and provides Alipay & WeChat Pay implementations.
|
Package driver defines the payment channel driver interface and provides Alipay & WeChat Pay implementations. |
|
addon/pay/router
Package router registers payment module HTTP routes.
|
Package router registers payment module HTTP routes. |
|
addon/sitemap/logic/sitemap
Package sitemap provides sitemap generation, management, and search-engine URL pushing functionality.
|
Package sitemap provides sitemap generation, management, and search-engine URL pushing functionality. |
|
app/cms/controller/admin
Package admin provides CMS admin controllers for link management.
|
Package admin provides CMS admin controllers for link management. |
|
app/cms/controller/home
Package home provides CMS frontend RSS feed controller.
|
Package home provides CMS frontend RSS feed controller. |
|
app/cms/data
Package data defines the input/output data structures for the CMS module (articles, channels, pages, tags, etc.).
|
Package data defines the input/output data structures for the CMS module (articles, channels, pages, tags, etc.). |
|
app/cms/logic/cmsblock
Package cms_block provides CMS block management: CRUD, caching, translation, and listing.
|
Package cms_block provides CMS block management: CRUD, caching, translation, and listing. |
|
app/cms/logic/cmslink
Package cmslink provides CMS link management: CRUD, listing, and cache operations.
|
Package cmslink provides CMS link management: CRUD, listing, and cache operations. |
|
app/cms/logic/cmsrevision
Package cmsrevision provides article revision management.
|
Package cmsrevision provides article revision management. |
|
app/cms/logic/cmssetting
Package cms_setting 配置管理 - 字段/分组 CRUD
|
Package cms_setting 配置管理 - 字段/分组 CRUD |
|
app/cms/logic/common
Package common provides shared CMS rendering and cache helper functions.
|
Package common provides shared CMS rendering and cache helper functions. |
|
app/cms/logic/doc
Package doc provides static document (HTML) generation and management for CMS content.
|
Package doc provides static document (HTML) generation and management for CMS content. |
|
app/cms/logic/page
Package page provides single page management: CRUD, caching, translation, and listing.
|
Package page provides single page management: CRUD, caching, translation, and listing. |
|
app/cms/logic/seo
Package seo provides SEO analysis logic for articles.
|
Package seo provides SEO analysis logic for articles. |
|
app/cms/logic/tpl
Package tpl provides CmsCtx, the unified template context for both gview and Templ engines, offering shared data queries, i18n, formatting, and URL APIs.
|
Package tpl provides CmsCtx, the unified template context for both gview and Templ engines, offering shared data queries, i18n, formatting, and URL APIs. |
|
app/cms/middleware
Package middleware provides search engine crawler detection middleware based on spider User-Agent matching and IP-based verification (CIDR + DNS reverse lookup).
|
Package middleware provides search engine crawler detection middleware based on spider User-Agent matching and IP-based verification (CIDR + DNS reverse lookup). |
|
app/cms/middleware/hotlayer
Package hotlayer 爬虫来访热层 爬虫请求 → 去重+计数(不阻塞) → Worker 定时同步 MySQL
|
Package hotlayer 爬虫来访热层 爬虫请求 → 去重+计数(不阻塞) → Worker 定时同步 MySQL |
|
app/cms/theme/icodcod
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
app/cms/tplbridge
Package tplbridge — Templ rendering bridge (isolated to break tpl↔icodcod import cycle)
|
Package tplbridge — Templ rendering bridge (isolated to break tpl↔icodcod import cycle) |
|
app/order/consts
Package consts defines error code constants for the order module.
|
Package consts defines error code constants for the order module. |
|
app/order/logic/order
Package order implements order business logic including listing, closing, manual refund, and resend notification for different modules (game/recharge/cms).
|
Package order implements order business logic including listing, closing, manual refund, and resend notification for different modules (game/recharge/cms). |
|
app/order/logic/refund
Package refund implements refund business logic for Google Play and App Store voided/refund order listing.
|
Package refund implements refund business logic for Google Play and App Store voided/refund order listing. |
|
app/pms/controller
Package controller implements the HTTP request handlers for PMS (Permission Management System) module.
|
Package controller implements the HTTP request handlers for PMS (Permission Management System) module. |
|
app/pms/data
Package data defines the input/output data structures and pagination helpers for the PMS module.
|
Package data defines the input/output data structures and pagination helpers for the PMS module. |
|
app/pms/logic
Package logic registers all PMS business logic sub-packages for initialization.
|
Package logic registers all PMS business logic sub-packages for initialization. |
|
app/pms/logic/dept
Package dept implements department CRUD, cached list retrieval, and tree-structure building.
|
Package dept implements department CRUD, cached list retrieval, and tree-structure building. |
|
app/pms/logic/dictdata
Package dict_data implements dictionary data CRUD with cache-through and default-value marking.
|
Package dict_data implements dictionary data CRUD with cache-through and default-value marking. |
|
app/pms/logic/dicttype
Package dict_type implements dictionary type CRUD with uniqueness checks and cascading data updates.
|
Package dict_type implements dictionary type CRUD with uniqueness checks and cascading data updates. |
|
app/pms/logic/middleware
Package middleware provides HTTP middleware for authentication, context initialization, and permission enforcement in the PMS module.
|
Package middleware provides HTTP middleware for authentication, context initialization, and permission enforcement in the PMS module. |
|
app/pms/logic/operlog
Package operlog implements the operation log recording (via HTTP hook) and querying service for admin audit trails.
|
Package operlog implements the operation log recording (via HTTP hook) and querying service for admin audit trails. |
|
app/pms/logic/param
Package param implements system parameter CRUD with key-uniqueness guard and cache-through retrieval.
|
Package param implements system parameter CRUD with key-uniqueness guard and cache-through retrieval. |
|
app/pms/logic/pmscontext
Package pms_context implements the per-request context management for PMS, storing the currently logged-in user and providing typed accessors.
|
Package pms_context implements the per-request context management for PMS, storing the currently logged-in user and providing typed accessors. |
|
app/pms/logic/role
Package role implements role CRUD, Casbin policy management, and cached role list retrieval.
|
Package role implements role CRUD, Casbin policy management, and cached role list retrieval. |
|
app/pms/logic/rule
Package rule implements menu/rule CRUD, cached menu-tree building, and Casbin policy binding.
|
Package rule implements menu/rule CRUD, cached menu-tree building, and Casbin policy binding. |
|
app/pms/logic/section
Package section implements post/section CRUD and active-section query for user assignment.
|
Package section implements post/section CRUD and active-section query for user assignment. |
|
app/pms/logic/sysUserOline
Package sysUserOline manages admin user online status: saving, checking liveness, and forced logout.
|
Package sysUserOline manages admin user online status: saving, checking liveness, and forced logout. |
|
app/pms/logic/user
Package user implements admin user authentication, CRUD, role/menu/permission query, and post assignment for the PMS module.
|
Package user implements admin user authentication, CRUD, role/menu/permission query, and post assignment for the PMS module. |
|
app/product/controller
Package controller implements HTTP handlers for product management including product CRUD, SKU management, translation management, and recycle bin operations.
|
Package controller implements HTTP handlers for product management including product CRUD, SKU management, translation management, and recycle bin operations. |
|
app/product/logic/product
Package product implements product business logic including CRUD operations, SKU management, translation management, and recycle bin for soft-deleted records.
|
Package product implements product business logic including CRUD operations, SKU management, translation management, and recycle bin for soft-deleted records. |
|
app/translation/data
Package data defines data transfer objects for the translation module, including the machine translation (Translate) DTOs and the Baidu Translate API response types.
|
Package data defines data transfer objects for the translation module, including the machine translation (Translate) DTOs and the Baidu Translate API response types. |
|
app/translation/logic
Package translation implements multi-language translation logic for articles, channels, pages, blocks, and dynamic content (EAV).
|
Package translation implements multi-language translation logic for articles, channels, pages, blocks, and dynamic content (EAV). |
|
app/translation/logic/translate
Package translate provides a pluggable machine translation driver framework.
|
Package translate provides a pluggable machine translation driver framework. |
|
app/translation/service
Package service defines the translation service interface and data types for multi-language content (articles, channels, pages, blocks, and EAV).
|
Package service defines the translation service interface and data types for multi-language content (articles, channels, pages, blocks, and EAV). |
|
consts
Package consts provides shared constants for the codcms project.
|
Package consts provides shared constants for the codcms project. |
|
plugin
Package plugin defines the core plugin system for aicodcms.
|
Package plugin defines the core plugin system for aicodcms. |
|
library
|
|
|
i18n
Package i18n HTTP Accept-Language negotiation per RFC 7231 Language catalog follows BCP 47 / RFC 5646 tags (ISO 639-1 + ISO 3166-1 Alpha-2)
|
Package i18n HTTP Accept-Language negotiation per RFC 7231 Language catalog follows BCP 47 / RFC 5646 tags (ISO 639-1 + ISO 3166-1 Alpha-2) |
|
i18nerr
Package i18nerr provides i18n-aware error creation and checking functions.
|
Package i18nerr provides i18n-aware error creation and checking functions. |
|
libUtils
Package libUtils provides shared utility functions for password encryption, IP lookup, file I/O, and types.
|
Package libUtils provides shared utility functions for password encryption, IP lookup, file I/O, and types. |
|
liberr
Package liberr provides backward-compatible error checking functions.
|
Package liberr provides backward-compatible error checking functions. |
|
logutil
Package logutil provides structured logging with debug gate.
|
Package logutil provides structured logging with debug gate. |
|
uidgen
Package uidgen provides a Snowflake-based unique ID generator.
|
Package uidgen provides a Snowflake-based unique ID generator. |
|
test
|
|
|
testutil
Package testutil 测试辅助工具
|
Package testutil 测试辅助工具 |
Click to show internal directories.
Click to hide internal directories.