testutils

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRandom

func InitRandom()

func RandName

func RandName() string

Types

type Entry added in v1.7.0

type Entry struct {
	Labels model.LabelSet
	Time   time.Time
	Log    string
}

type TestClient added in v1.7.0

type TestClient struct {
	Log      log.Logger
	Messages []*Entry
	sync.Mutex
}

func (*TestClient) Handle added in v1.7.0

func (c *TestClient) Handle(ls model.LabelSet, t time.Time, s string) error

Jump to

Keyboard shortcuts

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