Documentation
¶
Overview ¶
Package cli provide command line interface helpers for hotstuff.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶ added in v0.3.0
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GenerateGoLatencyMatrix ¶ added in v0.5.0
func GenerateGoLatencyMatrix(srcFile string, allToAllMatrix map[string]map[string]string) ([]byte, error)
GenerateGoLatencyMatrix generates Go code for the latency matrix so that it can be compiled into the binary.
func LatencyMatrix ¶ added in v0.5.0
LatencyMatrix returns the location names and the full latency matrix. Currently not used, but it could be used if we want to load latency data at runtime.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.