mock

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 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