Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseAuthService ¶
DatabaseAuthService is an autogenerated mock type for the DatabaseAuthService type
func (*DatabaseAuthService) AddUser ¶
func (_m *DatabaseAuthService) AddUser(c models.Credentials) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.