Documentation
¶
Overview ¶
Package commands implements the processing of the command line flags and processing of the encryption operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicateDuration = errors.New("you cannot use the same duration unit specifier twice in one duration")
View Source
var ErrInvalidDurationMultiplier = errors.New("must contain a multiplier, e.g. 1d not just d")
View Source
var ErrInvalidDurationType = errors.New("unsupported duration type - 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 ¶
type DurationMultiplier ¶ added in v1.0.0
type DurationMultiplier = int8
const ( Second DurationMultiplier = iota Minute Hour Day Week Month Year )
Click to show internal directories.
Click to hide internal directories.