Documentation ¶
Overview ¶
The commit_log binary runs a simulation of the design for a commit-log based signer, with a simulated Kafka-like interface and a simulated master election package (which can be triggered to incorrectly report multiple masters), and with the core algorithm in the signer code. glog.Warning is used throughout for unexpected-but-recoverable situations, whereas glog.Error is used for any situation that would indicate data corruption.
Directories ¶
Path | Synopsis |
---|---|
Package signer is a sample implementation of a commit-log based signer.
|
Package signer is a sample implementation of a commit-log based signer. |
Package simelection simulates a master election.
|
Package simelection simulates a master election. |
Package simkafka is a toy simulation of a Kafka commit log.
|
Package simkafka is a toy simulation of a Kafka commit log. |
Click to show internal directories.
Click to hide internal directories.