keypairgentest

package
v0.0.0-...-18d85b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SliceSource

type SliceSource []*keypair.Full

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL