Documentation
¶
Overview ¶
Package mock_tss is a generated GoMock package.
Package mock_tss is a generated GoMock package.
Package mock_tss is a generated GoMock package.
Index ¶
- type MockMessage
- func (m *MockMessage) EXPECT() *MockMessageMockRecorder
- func (m *MockMessage) GetFrom() *tss.PartyID
- func (m *MockMessage) GetSessionId() *big.Int
- func (m *MockMessage) GetTo() []*tss.PartyID
- func (m *MockMessage) IsBroadcast() bool
- func (m *MockMessage) IsToOldAndNewCommittees() bool
- func (m *MockMessage) IsToOldCommittee() bool
- func (m *MockMessage) String() string
- func (m *MockMessage) Type() string
- func (m *MockMessage) WireBytes() ([]byte, *tss.MessageRouting, error)
- func (m *MockMessage) WireMsg() *tss.MessageWrapper
- type MockMessageMockRecorder
- func (mr *MockMessageMockRecorder) GetFrom() *gomock.Call
- func (mr *MockMessageMockRecorder) GetSessionId() *gomock.Call
- func (mr *MockMessageMockRecorder) GetTo() *gomock.Call
- func (mr *MockMessageMockRecorder) IsBroadcast() *gomock.Call
- func (mr *MockMessageMockRecorder) IsToOldAndNewCommittees() *gomock.Call
- func (mr *MockMessageMockRecorder) IsToOldCommittee() *gomock.Call
- func (mr *MockMessageMockRecorder) String() *gomock.Call
- func (mr *MockMessageMockRecorder) Type() *gomock.Call
- func (mr *MockMessageMockRecorder) WireBytes() *gomock.Call
- func (mr *MockMessageMockRecorder) WireMsg() *gomock.Call
- type MockParty
- type MockPartyMockRecorder
- type MockSaveDataFetcher
- type MockSaveDataFetcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessage ¶
type MockMessage struct {
// contains filtered or unexported fields
}
MockMessage is a mock of Message interface.
func NewMockMessage ¶
func NewMockMessage(ctrl *gomock.Controller) *MockMessage
NewMockMessage creates a new mock instance.
func (*MockMessage) EXPECT ¶
func (m *MockMessage) EXPECT() *MockMessageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessage) GetFrom ¶
func (m *MockMessage) GetFrom() *tss.PartyID
GetFrom mocks base method.
func (*MockMessage) GetSessionId ¶
func (m *MockMessage) GetSessionId() *big.Int
GetSessionId mocks base method.
func (*MockMessage) IsBroadcast ¶
func (m *MockMessage) IsBroadcast() bool
IsBroadcast mocks base method.
func (*MockMessage) IsToOldAndNewCommittees ¶
func (m *MockMessage) IsToOldAndNewCommittees() bool
IsToOldAndNewCommittees mocks base method.
func (*MockMessage) IsToOldCommittee ¶
func (m *MockMessage) IsToOldCommittee() bool
IsToOldCommittee mocks base method.
func (*MockMessage) WireBytes ¶
func (m *MockMessage) WireBytes() ([]byte, *tss.MessageRouting, error)
WireBytes mocks base method.
func (*MockMessage) WireMsg ¶
func (m *MockMessage) WireMsg() *tss.MessageWrapper
WireMsg mocks base method.
type MockMessageMockRecorder ¶
type MockMessageMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageMockRecorder is the mock recorder for MockMessage.
func (*MockMessageMockRecorder) GetFrom ¶
func (mr *MockMessageMockRecorder) GetFrom() *gomock.Call
GetFrom indicates an expected call of GetFrom.
func (*MockMessageMockRecorder) GetSessionId ¶
func (mr *MockMessageMockRecorder) GetSessionId() *gomock.Call
GetSessionId indicates an expected call of GetSessionId.
func (*MockMessageMockRecorder) GetTo ¶
func (mr *MockMessageMockRecorder) GetTo() *gomock.Call
GetTo indicates an expected call of GetTo.
func (*MockMessageMockRecorder) IsBroadcast ¶
func (mr *MockMessageMockRecorder) IsBroadcast() *gomock.Call
IsBroadcast indicates an expected call of IsBroadcast.
func (*MockMessageMockRecorder) IsToOldAndNewCommittees ¶
func (mr *MockMessageMockRecorder) IsToOldAndNewCommittees() *gomock.Call
IsToOldAndNewCommittees indicates an expected call of IsToOldAndNewCommittees.
func (*MockMessageMockRecorder) IsToOldCommittee ¶
func (mr *MockMessageMockRecorder) IsToOldCommittee() *gomock.Call
IsToOldCommittee indicates an expected call of IsToOldCommittee.
func (*MockMessageMockRecorder) String ¶
func (mr *MockMessageMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockMessageMockRecorder) Type ¶
func (mr *MockMessageMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockMessageMockRecorder) WireBytes ¶
func (mr *MockMessageMockRecorder) WireBytes() *gomock.Call
WireBytes indicates an expected call of WireBytes.
func (*MockMessageMockRecorder) WireMsg ¶
func (mr *MockMessageMockRecorder) WireMsg() *gomock.Call
WireMsg indicates an expected call of WireMsg.
type MockParty ¶
type MockParty struct {
// contains filtered or unexported fields
}
MockParty is a mock of Party interface.
func NewMockParty ¶
func NewMockParty(ctrl *gomock.Controller) *MockParty
NewMockParty creates a new mock instance.
func (*MockParty) EXPECT ¶
func (m *MockParty) EXPECT() *MockPartyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockParty) UpdateFromBytes ¶
func (m *MockParty) UpdateFromBytes(wireBytes []byte, from *tss.PartyID, isBroadcast bool, sessionID *big.Int) (bool, *tss.Error)
UpdateFromBytes mocks base method.
func (*MockParty) WaitingFor ¶
WaitingFor mocks base method.
type MockPartyMockRecorder ¶
type MockPartyMockRecorder struct {
// contains filtered or unexported fields
}
MockPartyMockRecorder is the mock recorder for MockParty.
func (*MockPartyMockRecorder) Start ¶
func (mr *MockPartyMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockPartyMockRecorder) UpdateFromBytes ¶
func (mr *MockPartyMockRecorder) UpdateFromBytes(wireBytes, from, isBroadcast, sessionID any) *gomock.Call
UpdateFromBytes indicates an expected call of UpdateFromBytes.
func (*MockPartyMockRecorder) WaitingFor ¶
func (mr *MockPartyMockRecorder) WaitingFor() *gomock.Call
WaitingFor indicates an expected call of WaitingFor.
type MockSaveDataFetcher ¶
type MockSaveDataFetcher struct {
// contains filtered or unexported fields
}
MockSaveDataFetcher is a mock of SaveDataFetcher interface.
func NewMockSaveDataFetcher ¶
func NewMockSaveDataFetcher(ctrl *gomock.Controller) *MockSaveDataFetcher
NewMockSaveDataFetcher creates a new mock instance.
func (*MockSaveDataFetcher) EXPECT ¶
func (m *MockSaveDataFetcher) EXPECT() *MockSaveDataFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSaveDataFetcher) GetKeyshare ¶
func (m *MockSaveDataFetcher) GetKeyshare() (keyshare.ECDSAKeyshare, error)
GetKeyshare mocks base method.
func (*MockSaveDataFetcher) LockKeyshare ¶
func (m *MockSaveDataFetcher) LockKeyshare()
LockKeyshare mocks base method.
func (*MockSaveDataFetcher) UnlockKeyshare ¶
func (m *MockSaveDataFetcher) UnlockKeyshare()
UnlockKeyshare mocks base method.
type MockSaveDataFetcherMockRecorder ¶
type MockSaveDataFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockSaveDataFetcherMockRecorder is the mock recorder for MockSaveDataFetcher.
func (*MockSaveDataFetcherMockRecorder) GetKeyshare ¶
func (mr *MockSaveDataFetcherMockRecorder) GetKeyshare() *gomock.Call
GetKeyshare indicates an expected call of GetKeyshare.
func (*MockSaveDataFetcherMockRecorder) LockKeyshare ¶
func (mr *MockSaveDataFetcherMockRecorder) LockKeyshare() *gomock.Call
LockKeyshare indicates an expected call of LockKeyshare.
func (*MockSaveDataFetcherMockRecorder) UnlockKeyshare ¶
func (mr *MockSaveDataFetcherMockRecorder) UnlockKeyshare() *gomock.Call
UnlockKeyshare indicates an expected call of UnlockKeyshare.