testutils

package
v1.4.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockingRW

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

BlockingRW implements io.Reader and Writer but never returns when called

func (*BlockingRW) Read

func (rw *BlockingRW) Read(p []byte) (n int, err error)

func (*BlockingRW) Write

func (rw *BlockingRW) Write(p []byte) (n int, err error)

type NoopRW

type NoopRW struct{}

NoopRW implements io.Reader and Writer but never returns when called

func (*NoopRW) Read

func (rw *NoopRW) Read(p []byte) (n int, err error)

func (*NoopRW) Write

func (rw *NoopRW) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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