Documentation
¶
Index ¶
- type KeyBuilderStub
- func (stub *KeyBuilderStub) BuildKey(keyPart []byte)
- func (stub *KeyBuilderStub) DeepClone() common.KeyBuilder
- func (stub *KeyBuilderStub) GetKey() ([]byte, error)
- func (stub *KeyBuilderStub) GetRawKey() []byte
- func (stub *KeyBuilderStub) IsInterfaceNil() bool
- func (stub *KeyBuilderStub) ShallowClone() common.KeyBuilder
- func (stub *KeyBuilderStub) Size() uint
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)
GetRawKeyCalled func() []byte
ShallowCloneCalled func() common.KeyBuilder
DeepCloneCalled func() common.KeyBuilder
SizeCalled func() uint
}
KeyBuilderStub -
func (*KeyBuilderStub) DeepClone ¶ added in v1.10.0
func (stub *KeyBuilderStub) DeepClone() common.KeyBuilder
DeepClone -
func (*KeyBuilderStub) GetRawKey ¶ added in v1.10.0
func (stub *KeyBuilderStub) GetRawKey() []byte
GetRawKey -
func (*KeyBuilderStub) IsInterfaceNil ¶ added in v1.6.0
func (stub *KeyBuilderStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*KeyBuilderStub) ShallowClone ¶ added in v1.10.0
func (stub *KeyBuilderStub) ShallowClone() common.KeyBuilder
ShallowClone -
Click to show internal directories.
Click to hide internal directories.