mocks

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func (*ORM) CountManagers

func (_m *ORM) CountManagers() (int64, error)

CountManagers provides a mock function with given fields:

func (*ORM) CreateManager

func (_m *ORM) CreateManager(ctx context.Context, ms *feeds.FeedsManager) (int32, error)

CreateManager provides a mock function with given fields: ctx, ms

func (*ORM) GetManager

func (_m *ORM) GetManager(ctx context.Context, id int32) (*feeds.FeedsManager, error)

GetManager provides a mock function with given fields: ctx, id

func (*ORM) ListManagers

func (_m *ORM) ListManagers(ctx context.Context) ([]feeds.FeedsManager, error)

ListManagers provides a mock function with given fields: ctx

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) CountManagers

func (_m *Service) CountManagers() (int64, error)

CountManagers provides a mock function with given fields:

func (*Service) GetManager

func (_m *Service) GetManager(id int32) (*feeds.FeedsManager, error)

GetManager provides a mock function with given fields: id

func (*Service) ListManagers

func (_m *Service) ListManagers() ([]feeds.FeedsManager, error)

ListManagers provides a mock function with given fields:

func (*Service) RegisterManager

func (_m *Service) RegisterManager(ms *feeds.FeedsManager) (int32, error)

RegisterManager provides a mock function with given fields: ms

Jump to

Keyboard shortcuts

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