mock

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDatabase

type MockDatabase struct {
	mock.Mock
}

MockDatabase is an autogenerated mock type for the Database type

func (*MockDatabase) GetApplicationByToken added in v1.0.5

func (_m *MockDatabase) GetApplicationByToken(token string) *model.Application

GetApplicationByToken provides a mock function with given fields: token

func (*MockDatabase) GetClientByToken added in v1.0.5

func (_m *MockDatabase) GetClientByToken(token string) *model.Client

GetClientByToken provides a mock function with given fields: token

func (*MockDatabase) GetUserByID

func (_m *MockDatabase) GetUserByID(id uint) *model.User

GetUserByID provides a mock function with given fields: id

func (*MockDatabase) GetUserByName

func (_m *MockDatabase) GetUserByName(name string) *model.User

GetUserByName provides a mock function with given fields: name

Jump to

Keyboard shortcuts

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