gurl

package
v0.0.0-...-17d70ba Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package gurl is a generated GoMock package.

Package gurl is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepositoryImpl

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

MockRepositoryImpl is a mock of RepositoryImpl interface.

func NewMockRepositoryImpl

func NewMockRepositoryImpl(ctrl *gomock.Controller) *MockRepositoryImpl

NewMockRepositoryImpl creates a new mock instance.

func (*MockRepositoryImpl) EXPECT

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

func (*MockRepositoryImpl) Store

func (m *MockRepositoryImpl) Store(url, filename string) error

Store mocks base method.

type MockRepositoryImplMockRecorder

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

MockRepositoryImplMockRecorder is the mock recorder for MockRepositoryImpl.

func (*MockRepositoryImplMockRecorder) Store

func (mr *MockRepositoryImplMockRecorder) Store(url, filename interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockUseCaseImpl

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

MockUseCaseImpl is a mock of UseCaseImpl interface.

func NewMockUseCaseImpl

func NewMockUseCaseImpl(ctrl *gomock.Controller) *MockUseCaseImpl

NewMockUseCaseImpl creates a new mock instance.

func (*MockUseCaseImpl) EXPECT

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

func (*MockUseCaseImpl) Store

func (m *MockUseCaseImpl) Store(url string) error

Store mocks base method.

type MockUseCaseImplMockRecorder

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

MockUseCaseImplMockRecorder is the mock recorder for MockUseCaseImpl.

func (*MockUseCaseImplMockRecorder) Store

func (mr *MockUseCaseImplMockRecorder) Store(url interface{}) *gomock.Call

Store indicates an expected call of Store.

type Repository

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

func (Repository) Store

func (r Repository) Store(url, filename string) error

type RepositoryImpl

type RepositoryImpl interface {
	Store(url, filename string) error
}

func NewRepository

func NewRepository(c rest.HTTPClient) RepositoryImpl

func RepositoryFactory

func RepositoryFactory() RepositoryImpl

type UseCaseImpl

type UseCaseImpl interface {
	Store(url string) error
}

UseCaseImpl -> Interface

func NewUsecase

func NewUsecase(repository RepositoryImpl) UseCaseImpl

func UseCaseFactory

func UseCaseFactory() UseCaseImpl

type Usecase

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

func (Usecase) Store

func (uc Usecase) Store(url string) error

Jump to

Keyboard shortcuts

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