mock

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 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 -

Jump to

Keyboard shortcuts

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