mocks

package
v0.0.0-...-a448e87 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICachedRepo

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

MockICachedRepo is a mock of ICachedRepo interface

func NewMockICachedRepo

func NewMockICachedRepo(ctrl *gomock.Controller) *MockICachedRepo

NewMockICachedRepo creates a new mock instance

func (*MockICachedRepo) EXPECT

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

func (*MockICachedRepo) FindRelevant

func (m *MockICachedRepo) FindRelevant(arg0 *models.User, arg1 []models.Hobby, arg2 []cachemodels.CachedUser, arg3 int) ([]cachemodels.CachedUser, error)

FindRelevant mocks base method

func (*MockICachedRepo) Get

func (m *MockICachedRepo) Get(arg0 int) ([]cachemodels.CachedUser, error)

Get mocks base method

func (*MockICachedRepo) GetByUsername

func (m *MockICachedRepo) GetByUsername(arg0 string) (*cachemodels.CachedUser, error)

GetByUsername mocks base method

type MockICachedRepoMockRecorder

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

MockICachedRepoMockRecorder is the mock recorder for MockICachedRepo

func (*MockICachedRepoMockRecorder) FindRelevant

func (mr *MockICachedRepoMockRecorder) FindRelevant(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindRelevant indicates an expected call of FindRelevant

func (*MockICachedRepoMockRecorder) Get

func (mr *MockICachedRepoMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockICachedRepoMockRecorder) GetByUsername

func (mr *MockICachedRepoMockRecorder) GetByUsername(arg0 interface{}) *gomock.Call

GetByUsername indicates an expected call of GetByUsername

type MockIConversationRepo

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

MockIConversationRepo is a mock of IConversationRepo interface

func NewMockIConversationRepo

func NewMockIConversationRepo(ctrl *gomock.Controller) *MockIConversationRepo

NewMockIConversationRepo creates a new mock instance

func (*MockIConversationRepo) Create

Create mocks base method

func (*MockIConversationRepo) EXPECT

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

func (*MockIConversationRepo) GetByUserIds

func (m *MockIConversationRepo) GetByUserIds(arg0, arg1 int) (*models.Conversation, error)

GetByUserIds mocks base method

type MockIConversationRepoMockRecorder

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

MockIConversationRepoMockRecorder is the mock recorder for MockIConversationRepo

func (*MockIConversationRepoMockRecorder) Create

func (mr *MockIConversationRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIConversationRepoMockRecorder) GetByUserIds

func (mr *MockIConversationRepoMockRecorder) GetByUserIds(arg0, arg1 interface{}) *gomock.Call

GetByUserIds indicates an expected call of GetByUserIds

type MockIHobbyRepo

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

MockIHobbyRepo is a mock of IHobbyRepo interface

func NewMockIHobbyRepo

func NewMockIHobbyRepo(ctrl *gomock.Controller) *MockIHobbyRepo

NewMockIHobbyRepo creates a new mock instance

func (*MockIHobbyRepo) EXPECT

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

func (*MockIHobbyRepo) GetAll

func (m *MockIHobbyRepo) GetAll() ([]models.Hobby, error)

GetAll mocks base method

func (*MockIHobbyRepo) GetByID

func (m *MockIHobbyRepo) GetByID(arg0 int) (*models.Hobby, error)

GetByID mocks base method

func (*MockIHobbyRepo) GetByUser

func (m *MockIHobbyRepo) GetByUser(arg0 *models.User) ([]models.Hobby, error)

GetByUser mocks base method

type MockIHobbyRepoMockRecorder

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

MockIHobbyRepoMockRecorder is the mock recorder for MockIHobbyRepo

func (*MockIHobbyRepoMockRecorder) GetAll

func (mr *MockIHobbyRepoMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockIHobbyRepoMockRecorder) GetByID

func (mr *MockIHobbyRepoMockRecorder) GetByID(arg0 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockIHobbyRepoMockRecorder) GetByUser

func (mr *MockIHobbyRepoMockRecorder) GetByUser(arg0 interface{}) *gomock.Call

GetByUser indicates an expected call of GetByUser

type MockILikeAndDislikeRepo

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

MockILikeAndDislikeRepo is a mock of ILikeAndDislikeRepo interface

func NewMockILikeAndDislikeRepo

func NewMockILikeAndDislikeRepo(ctrl *gomock.Controller) *MockILikeAndDislikeRepo

NewMockILikeAndDislikeRepo creates a new mock instance

func (*MockILikeAndDislikeRepo) Create

Create mocks base method

func (*MockILikeAndDislikeRepo) EXPECT

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

func (*MockILikeAndDislikeRepo) GetByUserIDs

func (m *MockILikeAndDislikeRepo) GetByUserIDs(arg0, arg1 int) (*models.LikeAndDislike, error)

GetByUserIDs mocks base method

func (*MockILikeAndDislikeRepo) Update

Update mocks base method

type MockILikeAndDislikeRepoMockRecorder

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

MockILikeAndDislikeRepoMockRecorder is the mock recorder for MockILikeAndDislikeRepo

func (*MockILikeAndDislikeRepoMockRecorder) Create

func (mr *MockILikeAndDislikeRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockILikeAndDislikeRepoMockRecorder) GetByUserIDs

func (mr *MockILikeAndDislikeRepoMockRecorder) GetByUserIDs(arg0, arg1 interface{}) *gomock.Call

GetByUserIDs indicates an expected call of GetByUserIDs

func (*MockILikeAndDislikeRepoMockRecorder) Update

func (mr *MockILikeAndDislikeRepoMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockIMessageRepo

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

MockIMessageRepo is a mock of IMessageRepo interface

func NewMockIMessageRepo

func NewMockIMessageRepo(ctrl *gomock.Controller) *MockIMessageRepo

NewMockIMessageRepo creates a new mock instance

func (*MockIMessageRepo) Create

func (m *MockIMessageRepo) Create(arg0 *models.Message) error

Create mocks base method

func (*MockIMessageRepo) EXPECT

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

func (*MockIMessageRepo) GetByConversation

func (m *MockIMessageRepo) GetByConversation(arg0 *models.Conversation, arg1, arg2 int) ([]models.Message, error)

GetByConversation mocks base method

type MockIMessageRepoMockRecorder

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

MockIMessageRepoMockRecorder is the mock recorder for MockIMessageRepo

func (*MockIMessageRepoMockRecorder) Create

func (mr *MockIMessageRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIMessageRepoMockRecorder) GetByConversation

func (mr *MockIMessageRepoMockRecorder) GetByConversation(arg0, arg1, arg2 interface{}) *gomock.Call

GetByConversation indicates an expected call of GetByConversation

type MockIParticipantRepo

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

MockIParticipantRepo is a mock of IParticipantRepo interface

func NewMockIParticipantRepo

func NewMockIParticipantRepo(ctrl *gomock.Controller) *MockIParticipantRepo

NewMockIParticipantRepo creates a new mock instance

func (*MockIParticipantRepo) Create

func (m *MockIParticipantRepo) Create(arg0 *models.Participant) error

Create mocks base method

func (*MockIParticipantRepo) EXPECT

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

func (*MockIParticipantRepo) JoinConversation

func (m *MockIParticipantRepo) JoinConversation(arg0 *models.User, arg1 *models.Conversation) (*models.Participant, error)

JoinConversation mocks base method

type MockIParticipantRepoMockRecorder

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

MockIParticipantRepoMockRecorder is the mock recorder for MockIParticipantRepo

func (*MockIParticipantRepoMockRecorder) Create

func (mr *MockIParticipantRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIParticipantRepoMockRecorder) JoinConversation

func (mr *MockIParticipantRepoMockRecorder) JoinConversation(arg0, arg1 interface{}) *gomock.Call

JoinConversation indicates an expected call of JoinConversation

type MockIRepo

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

MockIRepo is a mock of IRepo interface

func NewMockIRepo

func NewMockIRepo(ctrl *gomock.Controller) *MockIRepo

NewMockIRepo creates a new mock instance

func (*MockIRepo) EXPECT

func (m *MockIRepo) EXPECT() *MockIRepoMockRecorder

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

func (*MockIRepo) FindRelevant

func (m *MockIRepo) FindRelevant(arg0 string, arg1 int, arg2 time.Duration) ([]cachemodels.CachedUser, error)

FindRelevant mocks base method

type MockIRepoMockRecorder

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

MockIRepoMockRecorder is the mock recorder for MockIRepo

func (*MockIRepoMockRecorder) FindRelevant

func (mr *MockIRepoMockRecorder) FindRelevant(arg0, arg1, arg2 interface{}) *gomock.Call

FindRelevant indicates an expected call of FindRelevant

type MockIUserHobbyRepo

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

MockIUserHobbyRepo is a mock of IUserHobbyRepo interface

func NewMockIUserHobbyRepo

func NewMockIUserHobbyRepo(ctrl *gomock.Controller) *MockIUserHobbyRepo

NewMockIUserHobbyRepo creates a new mock instance

func (*MockIUserHobbyRepo) Create

func (m *MockIUserHobbyRepo) Create(arg0 *models.UserHobby) error

Create mocks base method

func (*MockIUserHobbyRepo) DeleteHobby

func (m *MockIUserHobbyRepo) DeleteHobby(arg0 *models.UserHobby) error

DeleteHobby mocks base method

func (*MockIUserHobbyRepo) EXPECT

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

type MockIUserHobbyRepoMockRecorder

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

MockIUserHobbyRepoMockRecorder is the mock recorder for MockIUserHobbyRepo

func (*MockIUserHobbyRepoMockRecorder) Create

func (mr *MockIUserHobbyRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIUserHobbyRepoMockRecorder) DeleteHobby

func (mr *MockIUserHobbyRepoMockRecorder) DeleteHobby(arg0 interface{}) *gomock.Call

DeleteHobby indicates an expected call of DeleteHobby

type MockIUserImgRepo

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

MockIUserImgRepo is a mock of IUserImgRepo interface

func NewMockIUserImgRepo

func NewMockIUserImgRepo(ctrl *gomock.Controller) *MockIUserImgRepo

NewMockIUserImgRepo creates a new mock instance

func (*MockIUserImgRepo) AllByUser

func (m *MockIUserImgRepo) AllByUser(arg0 *models.User) ([]models.UserImg, error)

AllByUser mocks base method

func (*MockIUserImgRepo) Create

func (m *MockIUserImgRepo) Create(arg0 *models.UserImg) error

Create mocks base method

func (*MockIUserImgRepo) Delete

func (m *MockIUserImgRepo) Delete(arg0 *models.UserImg) error

Delete mocks base method

func (*MockIUserImgRepo) EXPECT

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

func (*MockIUserImgRepo) GetById

func (m *MockIUserImgRepo) GetById(arg0 int) (*models.UserImg, error)

GetById mocks base method

type MockIUserImgRepoMockRecorder

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

MockIUserImgRepoMockRecorder is the mock recorder for MockIUserImgRepo

func (*MockIUserImgRepoMockRecorder) AllByUser

func (mr *MockIUserImgRepoMockRecorder) AllByUser(arg0 interface{}) *gomock.Call

AllByUser indicates an expected call of AllByUser

func (*MockIUserImgRepoMockRecorder) Create

func (mr *MockIUserImgRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIUserImgRepoMockRecorder) Delete

func (mr *MockIUserImgRepoMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockIUserImgRepoMockRecorder) GetById

func (mr *MockIUserImgRepoMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById

type MockIUserRepo

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

MockIUserRepo is a mock of IUserRepo interface

func NewMockIUserRepo

func NewMockIUserRepo(ctrl *gomock.Controller) *MockIUserRepo

NewMockIUserRepo creates a new mock instance

func (*MockIUserRepo) Count

func (m *MockIUserRepo) Count() int

Count mocks base method

func (*MockIUserRepo) Create

func (m *MockIUserRepo) Create(arg0 *models.User) error

Create mocks base method

func (*MockIUserRepo) EXPECT

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

func (*MockIUserRepo) FindSecretKey

func (m *MockIUserRepo) FindSecretKey(arg0 string) ([]byte, error)

FindSecretKey mocks base method

func (*MockIUserRepo) GetAll

func (m *MockIUserRepo) GetAll() ([]models.User, error)

GetAll mocks base method

func (*MockIUserRepo) GetByEmail

func (m *MockIUserRepo) GetByEmail(arg0 string) (*models.User, error)

GetByEmail mocks base method

func (*MockIUserRepo) GetByID

func (m *MockIUserRepo) GetByID(arg0 int) (*models.User, error)

GetByID mocks base method

func (*MockIUserRepo) GetByUsername

func (m *MockIUserRepo) GetByUsername(arg0 string) (*models.User, error)

GetByUsername mocks base method

func (*MockIUserRepo) GetMatches

func (m *MockIUserRepo) GetMatches(arg0 int) ([]models.User, error)

GetMatches mocks base method

func (*MockIUserRepo) RenewSecretKey

func (m *MockIUserRepo) RenewSecretKey(arg0 int) error

RenewSecretKey mocks base method

func (*MockIUserRepo) Update

func (m *MockIUserRepo) Update(arg0 *models.User) error

Update mocks base method

func (*MockIUserRepo) UpdateAvatar

func (m *MockIUserRepo) UpdateAvatar(arg0, arg1 string) error

UpdateAvatar mocks base method

func (*MockIUserRepo) UpdateLastSeen

func (m *MockIUserRepo) UpdateLastSeen(arg0 string) error

UpdateLastSeen mocks base method

func (*MockIUserRepo) UpdatePassword

func (m *MockIUserRepo) UpdatePassword(arg0 int, arg1 string) error

UpdatePassword mocks base method

type MockIUserRepoMockRecorder

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

MockIUserRepoMockRecorder is the mock recorder for MockIUserRepo

func (*MockIUserRepoMockRecorder) Count

func (mr *MockIUserRepoMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockIUserRepoMockRecorder) Create

func (mr *MockIUserRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIUserRepoMockRecorder) FindSecretKey

func (mr *MockIUserRepoMockRecorder) FindSecretKey(arg0 interface{}) *gomock.Call

FindSecretKey indicates an expected call of FindSecretKey

func (*MockIUserRepoMockRecorder) GetAll

func (mr *MockIUserRepoMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockIUserRepoMockRecorder) GetByEmail

func (mr *MockIUserRepoMockRecorder) GetByEmail(arg0 interface{}) *gomock.Call

GetByEmail indicates an expected call of GetByEmail

func (*MockIUserRepoMockRecorder) GetByID

func (mr *MockIUserRepoMockRecorder) GetByID(arg0 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockIUserRepoMockRecorder) GetByUsername

func (mr *MockIUserRepoMockRecorder) GetByUsername(arg0 interface{}) *gomock.Call

GetByUsername indicates an expected call of GetByUsername

func (*MockIUserRepoMockRecorder) GetMatches

func (mr *MockIUserRepoMockRecorder) GetMatches(arg0 interface{}) *gomock.Call

GetMatches indicates an expected call of GetMatches

func (*MockIUserRepoMockRecorder) RenewSecretKey

func (mr *MockIUserRepoMockRecorder) RenewSecretKey(arg0 interface{}) *gomock.Call

RenewSecretKey indicates an expected call of RenewSecretKey

func (*MockIUserRepoMockRecorder) Update

func (mr *MockIUserRepoMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockIUserRepoMockRecorder) UpdateAvatar

func (mr *MockIUserRepoMockRecorder) UpdateAvatar(arg0, arg1 interface{}) *gomock.Call

UpdateAvatar indicates an expected call of UpdateAvatar

func (*MockIUserRepoMockRecorder) UpdateLastSeen

func (mr *MockIUserRepoMockRecorder) UpdateLastSeen(arg0 interface{}) *gomock.Call

UpdateLastSeen indicates an expected call of UpdateLastSeen

func (*MockIUserRepoMockRecorder) UpdatePassword

func (mr *MockIUserRepoMockRecorder) UpdatePassword(arg0, arg1 interface{}) *gomock.Call

UpdatePassword indicates an expected call of UpdatePassword

Jump to

Keyboard shortcuts

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