Documentation ¶
Overview ¶
Package commands implements the processing of the command line flags and processing of the encryption operation.
Index ¶
Constants ¶
View Source
const ( // DefaultNetwork is set to the HTTPs relay from drand, you can also use Cloudflare relay or any other relay. DefaultNetwork = "https://api.drand.sh/" // DefaultChain is set to the League of Entropy quicknet chainhash. DefaultChain = "52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971" )
Default settings.
Variables ¶
View Source
var ErrDuplicateDuration = errors.New("you cannot use the same duration unit specifier twice in one duration")
View Source
var ErrInvalidDurationFormat = errors.New("unsupported duration type or malformed duration - note: drand can only support as short as seconds")
View Source
var ErrInvalidDurationValue = errors.New("the duration you entered is either in the past or was too large and would cause an overflow")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.