bufsync

package
v0.30.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazyString added in v0.30.4

type LazyString func() string

func (LazyString) String added in v0.30.4

func (s LazyString) String() string

type ThreadSafeBuffer

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

func NewThreadSafeBuffer

func NewThreadSafeBuffer() *ThreadSafeBuffer

func (*ThreadSafeBuffer) AssertEventuallyContains added in v0.30.4

func (b *ThreadSafeBuffer) AssertEventuallyContains(tb testing.TB, expected string, timeout time.Duration)

func (*ThreadSafeBuffer) Reset added in v0.14.0

func (b *ThreadSafeBuffer) Reset()

func (*ThreadSafeBuffer) String

func (b *ThreadSafeBuffer) String() string

func (*ThreadSafeBuffer) Write

func (b *ThreadSafeBuffer) Write(bs []byte) (int, error)

Jump to

Keyboard shortcuts

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