testutil

package
v0.0.0-...-1c999d7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamedLogger

func NewNamedLogger(name string, logLevel ...zapcore.Level) *zap.SugaredLogger

Types

type SyncCounter

type SyncCounter struct {
	// contains filtered or unexported fields
}

func NewSyncCounter

func NewSyncCounter(deadline ...time.Time) *SyncCounter

func (*SyncCounter) PostInc

func (c *SyncCounter) PostInc()

func (*SyncCounter) WaitForCounterValue

func (c *SyncCounter) WaitForCounterValue(value int) error

Jump to

Keyboard shortcuts

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