Help us shape the future of Go! Take the 2026 Go Developer Survey

bufsync

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 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) 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