Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TransferLocal = &transferLocalImpl{}
Functions ¶
This section is empty.
Types ¶
type ExecuteParams ¶
type MockTransport ¶
type MockTransport struct {
// contains filtered or unexported fields
}
func NewMockTransport ¶
func NewMockTransport() *MockTransport
func (*MockTransport) Execute ¶
func (t *MockTransport) Execute(ctx context.Context, params ExecuteParams) (chan uint64, error)
func (*MockTransport) SimulateTransfer ¶
func (*MockTransport) Transferred ¶
func (t *MockTransport) Transferred(dealUuid uuid.UUID) uint64
type OnTransferredFn ¶
type OnTransferredFn func(transferred uint64)
type TransferLocalParams ¶
type TransferLocalParams struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.