bufsync

package
v0.20.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThreadSafeBuffer

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

func NewThreadSafeBuffer

func NewThreadSafeBuffer() *ThreadSafeBuffer

func (*ThreadSafeBuffer) Reset added in v0.14.0

func (b *ThreadSafeBuffer) Reset()

func (*ThreadSafeBuffer) String

func (b *ThreadSafeBuffer) String() string

func (*ThreadSafeBuffer) WaitUntilContains

func (b *ThreadSafeBuffer) WaitUntilContains(expected string, timeout time.Duration) error

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