Documentation ¶
Overview ¶
Package keychainmock is a generated GoMock package.
Index ¶
- type Ledger
- func (m *Ledger) Address(arg0 string, arg1 uint32) (ids.ShortID, error)
- func (m *Ledger) Addresses(arg0 []uint32) ([]ids.ShortID, error)
- func (m *Ledger) Disconnect() error
- func (m *Ledger) EXPECT() *LedgerMockRecorder
- func (m *Ledger) Sign(arg0 []byte, arg1 []uint32) ([][]byte, error)
- func (m *Ledger) SignHash(arg0 []byte, arg1 []uint32) ([][]byte, error)
- func (m *Ledger) Version() (*version.Semantic, error)
- type LedgerMockRecorder
- func (mr *LedgerMockRecorder) Address(arg0, arg1 any) *gomock.Call
- func (mr *LedgerMockRecorder) Addresses(arg0 any) *gomock.Call
- func (mr *LedgerMockRecorder) Disconnect() *gomock.Call
- func (mr *LedgerMockRecorder) Sign(arg0, arg1 any) *gomock.Call
- func (mr *LedgerMockRecorder) SignHash(arg0, arg1 any) *gomock.Call
- func (mr *LedgerMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger struct {
// contains filtered or unexported fields
}
Ledger is a mock of Ledger interface.
func NewLedger ¶
func NewLedger(ctrl *gomock.Controller) *Ledger
NewLedger creates a new mock instance.
func (*Ledger) EXPECT ¶
func (m *Ledger) EXPECT() *LedgerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type LedgerMockRecorder ¶
type LedgerMockRecorder struct {
// contains filtered or unexported fields
}
LedgerMockRecorder is the mock recorder for Ledger.
func (*LedgerMockRecorder) Address ¶
func (mr *LedgerMockRecorder) Address(arg0, arg1 any) *gomock.Call
Address indicates an expected call of Address.
func (*LedgerMockRecorder) Addresses ¶
func (mr *LedgerMockRecorder) Addresses(arg0 any) *gomock.Call
Addresses indicates an expected call of Addresses.
func (*LedgerMockRecorder) Disconnect ¶
func (mr *LedgerMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*LedgerMockRecorder) Sign ¶
func (mr *LedgerMockRecorder) Sign(arg0, arg1 any) *gomock.Call
Sign indicates an expected call of Sign.
func (*LedgerMockRecorder) SignHash ¶
func (mr *LedgerMockRecorder) SignHash(arg0, arg1 any) *gomock.Call
SignHash indicates an expected call of SignHash.
func (*LedgerMockRecorder) Version ¶
func (mr *LedgerMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
Click to show internal directories.
Click to hide internal directories.