mocks

package
v0.0.0-...-3b1adbd Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseAuthService

type DatabaseAuthService struct {
	mock.Mock
}

DatabaseAuthService is an autogenerated mock type for the DatabaseAuthService type

func (*DatabaseAuthService) AddUser

AddUser provides a mock function with given fields: c

func (*DatabaseAuthService) GetUser

func (_m *DatabaseAuthService) GetUser(login string) (*models.Credentials, error)

GetUser provides a mock function with given fields: login

type DatabaseRosterService

type DatabaseRosterService struct {
	mock.Mock
}

DatabaseRosterService is an autogenerated mock type for the DatabaseRosterService type

func (*DatabaseRosterService) GetAllRosters

func (_m *DatabaseRosterService) GetAllRosters() ([]models.Roster, error)

GetAllRosters provides a mock function with given fields:

func (*DatabaseRosterService) GetRoster

func (_m *DatabaseRosterService) GetRoster(id int64) (*models.Roster, error)

GetRoster provides a mock function with given fields: id

func (*DatabaseRosterService) PushPlayer

func (_m *DatabaseRosterService) PushPlayer(id int64, p models.Player) error

PushPlayer provides a mock function with given fields: id, p

func (*DatabaseRosterService) UpdateRoster

func (_m *DatabaseRosterService) UpdateRoster(_a0 models.Roster) error

UpdateRoster provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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