Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
tritium
command
Command tritium runs one node: an RPC server in front of a RESP store.
|
Command tritium runs one node: an RPC server in front of a RESP store. |
|
tritium-cli
command
Command tritium-cli talks to a node from the shell.
|
Command tritium-cli talks to a node from the shell. |
|
tritium-monitor
command
Command tritium-monitor is a terminal dashboard for a cluster.
|
Command tritium-monitor is a terminal dashboard for a cluster. |
|
internal
|
|
|
config
Package config loads a node's settings from a dotenv file and the environment.
|
Package config loads a node's settings from a dotenv file and the environment. |
|
monitor
Package monitor gathers a live picture of a tritium cluster: the node view from any reachable node, plus replication state from every node's RESP store and the replicas that store reports.
|
Package monitor gathers a live picture of a tritium cluster: the node view from any reachable node, plus replication state from every node's RESP store and the replicas that store reports. |
|
resp
Package resp encodes commands and decodes replies in the Redis Serialization Protocol (RESP2), which Valkey, Redis, Garnet and friends all speak.
|
Package resp encodes commands and decodes replies in the Redis Serialization Protocol (RESP2), which Valkey, Redis, Garnet and friends all speak. |
|
resptest
Package resptest runs a tiny in-process RESP server so tests don't need a real Valkey, and points them at one when TRITIUM_RESP_ADDR is set.
|
Package resptest runs a tiny in-process RESP server so tests don't need a real Valkey, and points them at one when TRITIUM_RESP_ADDR is set. |
|
server
Package server is a tritium node: a RESP front end over a replicated RESP store, plus the gossip that keeps nodes aware of each other.
|
Package server is a tritium node: a RESP front end over a replicated RESP store, plus the gossip that keeps nodes aware of each other. |
|
pkg
|
|
|
storage
Package storage holds the cluster-view types shared by nodes and clients, and the RESP-backed replicated Store a node writes through.
|
Package storage holds the cluster-view types shared by nodes and clients, and the RESP-backed replicated Store a node writes through. |
|
tritium
Package tritium is a Go client for a tritium node.
|
Package tritium is a Go client for a tritium node. |
Click to show internal directories.
Click to hide internal directories.