Directories
¶
| Path | Synopsis |
|---|---|
|
Package accesslog provides a gin access-log formatter that scrubs secrets embedded in request URL paths before they are written to logs.
|
Package accesslog provides a gin access-log formatter that scrubs secrets embedded in request URL paths before they are written to logs. |
|
Package auth carries the canonical representation of the value stored under the token cache key (TokenCachePrefix+token) and provides versioned encoding helpers.
|
Package auth carries the canonical representation of the value stored under the token cache key (TokenCachePrefix+token) and provides versioned encoding helpers. |
|
Package errcode registers octo-server private business error codes.
|
Package errcode registers octo-server private business error codes. |
|
Package i18n 提供 octo-server 的国际化 SDK 入口。
|
Package i18n 提供 octo-server 的国际化 SDK 入口。 |
|
cmd/octo-i18n-extract
command
Command octo-i18n-extract is the source-of-truth AST extractor for the i18n message marker pipeline (D18 in `i18n 最终方案.md` v7.1).
|
Command octo-i18n-extract is the source-of-truth AST extractor for the i18n message marker pipeline (D18 in `i18n 最终方案.md` v7.1). |
|
codes
Package codes 维护 i18n 错误码注册表。
|
Package codes 维护 i18n 错误码注册表。 |
|
Helper for Mininglamp-OSS/octo-server PR#145 follow-up (Jerry-Xin / lml2468 / yujiawei review): isolate the in-memory `payload` map from the wire-bytes representation so ExpandAisToBotUIDs can stamp expanded bot UIDs onto the bytes dispatched to WuKongIM WITHOUT polluting the in-memory payload the caller may still reference for persistence, listener fan-out, or downstream reminders.
|
Helper for Mininglamp-OSS/octo-server PR#145 follow-up (Jerry-Xin / lml2468 / yujiawei review): isolate the in-memory `payload` map from the wire-bytes representation so ExpandAisToBotUIDs can stamp expanded bot UIDs onto the bytes dispatched to WuKongIM WITHOUT polluting the in-memory payload the caller may still reference for persistence, listener fan-out, or downstream reminders. |
|
Package metrics 收集 dmwork 进程级 Prometheus 指标。
|
Package metrics 收集 dmwork 进程级 Prometheus 指标。 |
|
Package obopayload owns the reserved-namespace contract for the On-Behalf-Of (OBO) persona-clone fan-out path (YUJ-1166 / Mininglamp-OSS/octo-server#81).
|
Package obopayload owns the reserved-namespace contract for the On-Behalf-Of (OBO) persona-clone fan-out path (YUJ-1166 / Mininglamp-OSS/octo-server#81). |
|
Package pushcache centralizes the Redis cache-key scheme for offline push notification titles (group name / thread name) and the invalidation helpers that keep those caches fresh when the underlying name changes.
|
Package pushcache centralizes the Redis cache-key scheme for offline push notification titles (group name / thread name) and the invalidation helpers that keep those caches fresh when the underlying name changes. |
|
Package reqid threads a per-request trace id through one HTTP request so the otherwise-separate slow logs (GIN access log, auth parser, group handler, group service) can be stitched back to a single request.
|
Package reqid threads a per-request trace id through one HTTP request so the otherwise-separate slow logs (GIN access log, auth parser, group handler, group service) can be stitched back to a single request. |
|
Package richtext owns the server-side authoritative handling of RichText (ContentType=14) message payloads.
|
Package richtext owns the server-side authoritative handling of RichText (ContentType=14) message payloads. |
|
Package searchbackend exposes the single, explicit OCTO_SEARCH_BACKEND three-state switch that governs every search surface in octo-server.
|
Package searchbackend exposes the single, explicit OCTO_SEARCH_BACKEND three-state switch that governs every search surface in octo-server. |
|
Package stickersig mints and verifies the short-lived "upload handle" that proves a custom-sticker object was produced by a specific user's content-validated upload.
|
Package stickersig mints and verifies the short-lived "upload handle" that proves a custom-sticker object was produced by a specific user's content-validated upload. |
|
Package decimal implements an arbitrary precision fixed-point decimal.
|
Package decimal implements an arbitrary precision fixed-point decimal. |
Click to show internal directories.
Click to hide internal directories.