Documentation
ยถ
There is no documentation for this package.
Directories
ยถ
| Path | Synopsis |
|---|---|
|
modules
|
|
|
base/common
smsbao
|
smsbao |
|
base/common/emailtmpl
Package emailtmpl renders outbound transactional email (subject + HTML + plaintext) from per-language templates embedded at build time.
|
Package emailtmpl renders outbound transactional email (subject + HTML + plaintext) from per-language templates embedded at build time. |
|
base/common/msgtmpl
Package msgtmpl renders outbound IM / push message bodies from per-language template sets embedded at build time.
|
Package msgtmpl renders outbound IM / push message bodies from per-language template sets embedded at build time. |
|
bot_api
Module-side composer that wires bot_api.groupService.GetMembers + bot_api.robotService.ExistRobot into the pkg/mentionrewrite.ExpandAisToBotUIDs callback shape.
|
Module-side composer that wires bot_api.groupService.GetMembers + bot_api.robotService.ExistRobot into the pkg/mentionrewrite.ExpandAisToBotUIDs callback shape. |
|
bot_provision
Cross-service bot endpoints introduced by the fleet split (PR-A.2).
|
Cross-service bot endpoints introduced by the fleet split (PR-A.2). |
|
botfather/cmdmenu
Package cmdmenu owns BotFather's own command menu โ the /newbot, /help, ...
|
Package cmdmenu owns BotFather's own command menu โ the /newbot, /help, ... |
|
incomingwebhook
Module-side composer that wires (*IncomingWebhook).groupService.GetMembers + (*IncomingWebhook).robotService.ExistRobot into the pkg/mentionrewrite.ExpandAisToBotUIDs callback shape.
|
Module-side composer that wires (*IncomingWebhook).groupService.GetMembers + (*IncomingWebhook).robotService.ExistRobot into the pkg/mentionrewrite.ExpandAisToBotUIDs callback shape. |
|
message
Package message โ POST /v1/sidebar/sync
|
Package message โ POST /v1/sidebar/sync |
|
robot
modules/robot/ais_broadcast.go
|
modules/robot/ais_broadcast.go |
|
sticker
Package sticker implements per-user custom sticker management.
|
Package sticker implements per-user custom sticker management. |
|
pkg
|
|
|
accesslog
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. |
|
auth
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. |
|
errcode
Package errcode registers octo-server private business error codes.
|
Package errcode registers octo-server private business error codes. |
|
i18n
Package i18n ๆไพ octo-server ็ๅฝ้
ๅ SDK ๅ
ฅๅฃใ
|
Package i18n ๆไพ octo-server ็ๅฝ้ ๅ SDK ๅ ฅๅฃใ |
|
i18n/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). |
|
i18n/codes
Package codes ็ปดๆค i18n ้่ฏฏ็ ๆณจๅ่กจใ
|
Package codes ็ปดๆค i18n ้่ฏฏ็ ๆณจๅ่กจใ |
|
mentionrewrite
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. |
|
metrics
Package metrics ๆถ้ dmwork ่ฟ็จ็บง Prometheus ๆๆ ใ
|
Package metrics ๆถ้ dmwork ่ฟ็จ็บง Prometheus ๆๆ ใ |
|
obopayload
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). |
|
pushcache
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. |
|
reqid
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. |
|
richtext
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. |
|
searchbackend
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. |
|
stickersig
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. |
|
util
Package decimal implements an arbitrary precision fixed-point decimal.
|
Package decimal implements an arbitrary precision fixed-point decimal. |
|
tools
|
|
|
lint-direct-error-response
command
Command lint-direct-error-response is the D23 "no new direct error response" gate.
|
Command lint-direct-error-response is the D23 "no new direct error response" gate. |
|
lint-personal-msgsendreq
command
Command lint-personal-msgsendreq scans .go files under one or more roots and rejects direct config.MsgSendReq{} composite literals that explicitly set ChannelType to common.ChannelTypePerson (or its .Uint8() variant).
|
Command lint-personal-msgsendreq scans .go files under one or more roots and rejects direct config.MsgSendReq{} composite literals that explicitly set ChannelType to common.ChannelTypePerson (or its .Uint8() variant). |
|
lint-unregistered-code
command
Command lint-unregistered-code is the 0.10 #3 gate guarding httperr.ResponseErrorL against codes that bypass the pkg/i18n/codes registry.
|
Command lint-unregistered-code is the 0.10 #3 gate guarding httperr.ResponseErrorL against codes that bypass the pkg/i18n/codes registry. |
|
migrate-rename
command
Command migrate-rename rebuilds migration filenames as a single global timestamp-prefixed sequence so sql-migrate's numeric-prefix branch sorts them strictly by execution order rather than alphabetically.
|
Command migrate-rename rebuilds migration filenames as a single global timestamp-prefixed sequence so sql-migrate's numeric-prefix branch sorts them strictly by execution order rather than alphabetically. |
Click to show internal directories.
Click to hide internal directories.