signer

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByIDs

type ByIDs []keys.Signer

ByIDs implements sort.Interface for []keys.Signer based on the sorted public IDs() for each Signer. This facilitates deterministic order of signatures, which prevents tests that use fixtures from being flaky.

func (ByIDs) Len

func (b ByIDs) Len() int

func (ByIDs) Less

func (b ByIDs) Less(i, j int) bool

func (ByIDs) Swap

func (b ByIDs) Swap(i, j int)

Jump to

Keyboard shortcuts

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