qlightptm

package
v24.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package qlightptm is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(ptm interface{}) bool

Types

type CPItem

type CPItem struct {
	cache.PrivateCacheItem
	IsSender bool
	IsEmpty  bool
}

type CachablePrivateTransactionData

type CachablePrivateTransactionData struct {
	Hash                common.EncryptedPayloadHash
	QuorumPrivateTxData engine.QuorumPayloadExtra
}

type CachingProxyTxManager

type CachingProxyTxManager struct {
	// contains filtered or unexported fields
}

func New

func New() *CachingProxyTxManager

func (*CachingProxyTxManager) Cache

func (*CachingProxyTxManager) CheckAndAddEmptyToCache

func (t *CachingProxyTxManager) CheckAndAddEmptyToCache(hash common.EncryptedPayloadHash)

func (*CachingProxyTxManager) DecryptPayload

func (t *CachingProxyTxManager) DecryptPayload(payload common.DecryptRequest) ([]byte, *engine.ExtraMetadata, error)

retrieve raw will not return information about medata

func (*CachingProxyTxManager) EncryptPayload

func (t *CachingProxyTxManager) EncryptPayload(data []byte, from string, to []string, extra *engine.ExtraMetadata) ([]byte, error)

func (*CachingProxyTxManager) GetMandatory

func (t *CachingProxyTxManager) GetMandatory(txHash common.EncryptedPayloadHash) ([]string, error)

func (*CachingProxyTxManager) GetParticipants

func (t *CachingProxyTxManager) GetParticipants(txHash common.EncryptedPayloadHash) ([]string, error)

func (*CachingProxyTxManager) Groups

func (*CachingProxyTxManager) HasFeature

func (*CachingProxyTxManager) IsSender

func (*CachingProxyTxManager) Name

func (t *CachingProxyTxManager) Name() string

func (*CachingProxyTxManager) Receive

func (*CachingProxyTxManager) ReceiveRaw

retrieve raw will not return information about medata. Related to SendSignedTx

func (*CachingProxyTxManager) Send

func (*CachingProxyTxManager) SendSignedTx

func (t *CachingProxyTxManager) SendSignedTx(data common.EncryptedPayloadHash, to []string, extra *engine.ExtraMetadata) (string, []string, []byte, error)

func (*CachingProxyTxManager) SetRPCClient

func (t *CachingProxyTxManager) SetRPCClient(client *rpc.Client)

func (*CachingProxyTxManager) SetRPCClientCaller

func (t *CachingProxyTxManager) SetRPCClientCaller(client RPCClientCaller)

func (*CachingProxyTxManager) StoreRaw

func (t *CachingProxyTxManager) StoreRaw(data []byte, from string) (common.EncryptedPayloadHash, error)

type MockRPCClientCaller

type MockRPCClientCaller struct {
	// contains filtered or unexported fields
}

MockRPCClientCaller is a mock of RPCClientCaller interface.

func NewMockRPCClientCaller

func NewMockRPCClientCaller(ctrl *gomock.Controller) *MockRPCClientCaller

NewMockRPCClientCaller creates a new mock instance.

func (*MockRPCClientCaller) Call

func (m *MockRPCClientCaller) Call(result interface{}, method string, args ...interface{}) error

Call mocks base method.

func (*MockRPCClientCaller) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockRPCClientCallerMockRecorder

type MockRPCClientCallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRPCClientCallerMockRecorder is the mock recorder for MockRPCClientCaller.

func (*MockRPCClientCallerMockRecorder) Call

func (mr *MockRPCClientCallerMockRecorder) Call(result, method interface{}, args ...interface{}) *gomock.Call

Call indicates an expected call of Call.

type RPCClientCaller

type RPCClientCaller interface {
	Call(result interface{}, method string, args ...interface{}) error
}

Jump to

Keyboard shortcuts

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