mock

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChainWriter

type MockChainWriter struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewChainWriter

func NewChainWriter() *MockChainWriter

func (*MockChainWriter) ChainWrite

func (c *MockChainWriter) ChainWrite(_ *pipeline.PipeWriteArgs) error

func (*MockChainWriter) ChainWriteCalls

func (c *MockChainWriter) ChainWriteCalls() int

func (*MockChainWriter) Sum

func (c *MockChainWriter) Sum() ([]byte, error)

func (*MockChainWriter) SumCalls

func (c *MockChainWriter) SumCalls() int

Jump to

Keyboard shortcuts

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