mock

package
v1.7.13-patch2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyBuilderStub

type KeyBuilderStub struct {
	BuildKeyCalled func(keyPart []byte)
	GetKeyCalled   func() ([]byte, error)
	CloneCalled    func() common.KeyBuilder
}

KeyBuilderStub -

func (*KeyBuilderStub) BuildKey

func (stub *KeyBuilderStub) BuildKey(keyPart []byte)

BuildKey -

func (*KeyBuilderStub) Clone

func (stub *KeyBuilderStub) Clone() common.KeyBuilder

Clone -

func (*KeyBuilderStub) GetKey

func (stub *KeyBuilderStub) GetKey() ([]byte, error)

GetKey -

func (*KeyBuilderStub) IsInterfaceNil added in v1.6.0

func (stub *KeyBuilderStub) IsInterfaceNil() bool

IsInterfaceNil -

Jump to

Keyboard shortcuts

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