Documentation ¶
Overview ¶
Package impl is the implementation of the witness server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogIDFromPubKey ¶
LogIDFromPubKey builds the logID given the base64-encoded public key.
Types ¶
type LogConfig ¶
type LogConfig struct {
Logs []LogInfo `yaml:"Logs"`
}
LogConfig contains a list of LogInfo (configuration options for a log).
type LogInfo ¶
type LogInfo struct {
PubKey string `yaml:"PubKey"`
}
LogInfo contains the configuration options for a log, which is just its public key.
type ServerOpts ¶
type ServerOpts struct { // Where to listen for requests. ListenAddr string // The file for sqlite3 storage. DBFile string // The signing key for the witness. PrivKey string // The log configuration information. Config LogConfig }
ServerOpts provides the options for a server (specified in main.go).
Click to show internal directories.
Click to hide internal directories.