Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cheshmhayash
command
Command cheshmhayash is a toolbox for NATS administration.
|
Command cheshmhayash is a toolbox for NATS administration. |
|
internal
|
|
|
auth
Package auth wires OIDC login + HMAC-signed cookie sessions for the HTTP API and bearer-token auth for MCP HTTP.
|
Package auth wires OIDC login + HMAC-signed cookie sessions for the HTTP API and bearer-token auth for MCP HTTP. |
|
cliutil
Package cliutil holds the flags and helpers that several subcommands share: the settings file, the cluster choice, and the schema files.
|
Package cliutil holds the flags and helpers that several subcommands share: the settings file, the cluster choice, and the schema files. |
|
cmd
Package cmd builds the cheshmhayash command tree with urfave/cli v3.
|
Package cmd builds the cheshmhayash command tree with urfave/cli v3. |
|
cmd/mcp
Package mcp implements `cheshmhayash mcp`: the MCP server.
|
Package mcp implements `cheshmhayash mcp`: the MCP server. |
|
cmd/pub
Package pub implements `cheshmhayash pub`: publish a message, encoding JSON into protobuf when the subject has a schema, and optionally wait for a reply (request-reply) and print it decoded.
|
Package pub implements `cheshmhayash pub`: publish a message, encoding JSON into protobuf when the subject has a schema, and optionally wait for a reply (request-reply) and print it decoded. |
|
cmd/schemacmd
Package schemacmd implements `cheshmhayash schema`: inspect the loaded protobuf schemas and the subject rules, without a NATS connection.
|
Package schemacmd implements `cheshmhayash schema`: inspect the loaded protobuf schemas and the subject rules, without a NATS connection. |
|
cmd/serve
Package serve implements `cheshmhayash serve`: the HTTP dashboard.
|
Package serve implements `cheshmhayash serve`: the HTTP dashboard. |
|
cmd/sub
Package sub implements `cheshmhayash sub`: subscribe to subjects on core NATS and print each message decoded.
|
Package sub implements `cheshmhayash sub`: subscribe to subjects on core NATS and print each message decoded. |
|
codec
Package codec turns NATS payloads into JSON a person can read, and JSON back into payloads.
|
Package codec turns NATS payloads into JSON a person can read, and JSON back into payloads. |
|
config
Package config loads runtime settings via koanf in the layered pattern: struct defaults β settings.toml β CHESHMHAYASH__* environment variables.
|
Package config loads runtime settings via koanf in the layered pattern: struct defaults β settings.toml β CHESHMHAYASH__* environment variables. |
|
handler
Package handler exposes cheshmhayash's HTTP API.
|
Package handler exposes cheshmhayash's HTTP API. |
|
httpserver
Package httpserver runs an http.Server until its context ends and then shuts it down gracefully.
|
Package httpserver runs an http.Server until its context ends and then shuts it down gracefully. |
|
mcp
Package mcp exposes cheshmhayash's NATS admin surface as a Model Context Protocol server.
|
Package mcp exposes cheshmhayash's NATS admin surface as a Model Context Protocol server. |
|
natsx
Package natsx wraps the NATS client with cheshmhayash's request patterns: a single-reply request_json for targeted endpoints and a multi-reply discover for PING-style fan-out.
|
Package natsx wraps the NATS client with cheshmhayash's request patterns: a single-reply request_json for targeted endpoints and a multi-reply discover for PING-style fan-out. |
|
notify
Package notify fans out NATS advisory events (stream/consumer create/update/delete/leader-elected, plus system-account events) to chat webhooks (Slack, Mattermost, Matrix-via-bridge).
|
Package notify fans out NATS advisory events (stream/consumer create/update/delete/leader-elected, plus system-account events) to chat webhooks (Slack, Mattermost, Matrix-via-bridge). |
|
render
Package render prints decoded NATS messages for a person (pretty) or for a program (one JSON object per line).
|
Package render prints decoded NATS messages for a person (pretty) or for a program (one JSON object per line). |
|
schema
Package schema holds the protobuf schemas that cheshmhayash decodes NATS payloads with.
|
Package schema holds the protobuf schemas that cheshmhayash decodes NATS payloads with. |
|
version
Package version exposes the cheshmhayash binary version to other subsystems (HTTP /api/version, MCP initialize handshake, etc.).
|
Package version exposes the cheshmhayash binary version to other subsystems (HTTP /api/version, MCP initialize handshake, etc.). |
Click to show internal directories.
Click to hide internal directories.


