Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SliceSource ¶
SliceSource is a keypairgen.Generator source that has the values returned from a slice of keys that are provided at generation one at a time.
func (*SliceSource) Generate ¶
func (s *SliceSource) Generate() (*keypair.Full, error)
Generate returns the first key in the slice, and then shortens the slice removing the returned key, so that each call returns the next key in the original source. If called when no keys are available the function will panic.
Click to show internal directories.
Click to hide internal directories.