Documentation ¶
Index ¶
Constants ¶
View Source
const TestingDeterministicPrivateKey = "" /* 128-byte string literal not displayed */
TestingDeterministicPrivateKey is used as a seed to generate deterministic private keys
Variables ¶
This section is empty.
Functions ¶
func GetTestingPrivateKey ¶
func GetTestingPrivateKey(idx ...int) ed25519.PrivateKey
func GetTestingPrivateKeys ¶
func GetTestingPrivateKeys(n int, offsIndex ...int) []ed25519.PrivateKey
func RWMutexWriteLocked ¶
Types ¶
type SyncCounters ¶
type SyncCounters struct {
// contains filtered or unexported fields
}
func NewSynCounters ¶
func NewSynCounters() *SyncCounters
func (*SyncCounters) Add ¶
func (s *SyncCounters) Add(name string, i int)
func (*SyncCounters) CheckValues ¶
func (s *SyncCounters) CheckValues(expected map[string]int) error
func (*SyncCounters) Inc ¶
func (s *SyncCounters) Inc(name string)
func (*SyncCounters) Set ¶
func (s *SyncCounters) Set(name string, i int)
func (*SyncCounters) String ¶
func (s *SyncCounters) String() string
func (*SyncCounters) Value ¶
func (s *SyncCounters) Value(name string) int
Click to show internal directories.
Click to hide internal directories.