Documentation
¶
Overview ¶
Package docsartifacts embeds the module's contract artifacts that a Go binary needs at compile time. The registry's install path needs the authz.fragment.json bytes to seed authz.model_fragment, and cmd/registry's container has no filesystem access to modules/ at runtime. The embed sits next to the artifact file so there is exactly one copy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthzFragmentJSON []byte
View Source
var ManifestJSON []byte
ManifestJSON is the module's module.manifest.json bytes, embedded for the same reason as AuthzFragmentJSON above. The registry's builtinModules literal reads version and metadata from this embed instead of hand-copying them, so they cannot drift from the manifest.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
AuthzClient talks to authz's real effective-access decision (POST /internal/authz/ effective-access/can and /batch-can, the pattern every module uses) plus the grants S2S surface (POST /internal/authz/grants, op:"grant"|"revoke") — this module's ONLY path to writing/removing authz tuples (modules never write authz.* tables directly).
|
AuthzClient talks to authz's real effective-access decision (POST /internal/authz/ effective-access/can and /batch-can, the pattern every module uses) plus the grants S2S surface (POST /internal/authz/grants, op:"grant"|"revoke") — this module's ONLY path to writing/removing authz tuples (modules never write authz.* tables directly). |
|
cmd
command
Command docs runs kiban-docs: the DocShare module service's HTTP API (fine-grained, per-document sharing).
|
Command docs runs kiban-docs: the DocShare module service's HTTP API (fine-grained, per-document sharing). |
Click to show internal directories.
Click to hide internal directories.