Documentation
¶
Overview ¶
Package transferdelivery manages delivery layer of transfers.
Package transferdelivery is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler facilitates transfer delivery layer logic.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Transfer ¶
func (m *MockService) Transfer(ctx context.Context, fromUsername string, arg domain.CreateTransferParams) (domain.TransferTxResult, error)
Transfer mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Transfer ¶
func (mr *MockServiceMockRecorder) Transfer(ctx, fromUsername, arg interface{}) *gomock.Call
Transfer indicates an expected call of Transfer.
type Service ¶
type Service interface {
Transfer(ctx context.Context, fromUsername string, arg domain.CreateTransferParams) (domain.TransferTxResult, error)
}
Service provides service layer interface needed by transfer delivery layer.
Click to show internal directories.
Click to hide internal directories.