mock_ports

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_ports is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoginRepository

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

MockLoginRepository is a mock of LoginRepository interface.

func NewMockLoginRepository

func NewMockLoginRepository(ctrl *gomock.Controller) *MockLoginRepository

NewMockLoginRepository creates a new mock instance.

func (*MockLoginRepository) EXPECT

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

func (*MockLoginRepository) FindByID

func (m *MockLoginRepository) FindByID(ctx context.Context, loginID string) (*porker.Login, error)

FindByID mocks base method.

func (*MockLoginRepository) Logout

func (m *MockLoginRepository) Logout(ctx context.Context, loginID string) error

Logout mocks base method.

func (*MockLoginRepository) NewLogin

func (m *MockLoginRepository) NewLogin(ctx context.Context, loginID string) (*porker.Login, error)

NewLogin mocks base method.

func (*MockLoginRepository) ReLogin

func (m *MockLoginRepository) ReLogin(ctx context.Context, login *porker.Login) error

ReLogin mocks base method.

type MockLoginRepositoryMockRecorder

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

MockLoginRepositoryMockRecorder is the mock recorder for MockLoginRepository.

func (*MockLoginRepositoryMockRecorder) FindByID

func (mr *MockLoginRepositoryMockRecorder) FindByID(ctx, loginID interface{}) *gomock.Call

FindByID indicates an expected call of FindByID.

func (*MockLoginRepositoryMockRecorder) Logout

func (mr *MockLoginRepositoryMockRecorder) Logout(ctx, loginID interface{}) *gomock.Call

Logout indicates an expected call of Logout.

func (*MockLoginRepositoryMockRecorder) NewLogin

func (mr *MockLoginRepositoryMockRecorder) NewLogin(ctx, loginID interface{}) *gomock.Call

NewLogin indicates an expected call of NewLogin.

func (*MockLoginRepositoryMockRecorder) ReLogin

func (mr *MockLoginRepositoryMockRecorder) ReLogin(ctx, login interface{}) *gomock.Call

ReLogin indicates an expected call of ReLogin.

type MockPokerRepository

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

MockPokerRepository is a mock of PokerRepository interface.

func NewMockPokerRepository

func NewMockPokerRepository(ctrl *gomock.Controller) *MockPokerRepository

NewMockPokerRepository creates a new mock instance.

func (*MockPokerRepository) Create

func (m *MockPokerRepository) Create(ctx context.Context, loginID string) (room.ID, error)

Create mocks base method.

func (*MockPokerRepository) Delete

func (m *MockPokerRepository) Delete(ctx context.Context, roomID room.ID) error

Delete mocks base method.

func (*MockPokerRepository) EXPECT

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

func (*MockPokerRepository) Enter

func (m *MockPokerRepository) Enter(ctx context.Context, roomID room.ID, loginID string) error

Enter mocks base method.

func (*MockPokerRepository) IsExistsInRoom

func (m *MockPokerRepository) IsExistsInRoom(ctx context.Context, roomID room.ID, loginID string) (bool, error)

IsExistsInRoom mocks base method.

func (*MockPokerRepository) Leave

func (m *MockPokerRepository) Leave(ctx context.Context, roomID room.ID, loginID string) error

Leave mocks base method.

func (*MockPokerRepository) ListMembers

func (m *MockPokerRepository) ListMembers(ctx context.Context, roomID room.ID) ([]string, error)

ListMembers mocks base method.

func (*MockPokerRepository) ReadStream

func (m *MockPokerRepository) ReadStream(ctx context.Context, roomID room.ID, messageID string) (string, *porker.PokerSituation, error)

ReadStream mocks base method.

func (*MockPokerRepository) ReadStreamLatest

func (m *MockPokerRepository) ReadStreamLatest(ctx context.Context, roomID room.ID) (string, *porker.PokerSituation, error)

ReadStreamLatest mocks base method.

func (*MockPokerRepository) Update

Update mocks base method.

type MockPokerRepositoryMockRecorder

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

MockPokerRepositoryMockRecorder is the mock recorder for MockPokerRepository.

func (*MockPokerRepositoryMockRecorder) Create

func (mr *MockPokerRepositoryMockRecorder) Create(ctx, loginID interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPokerRepositoryMockRecorder) Delete

func (mr *MockPokerRepositoryMockRecorder) Delete(ctx, roomID interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPokerRepositoryMockRecorder) Enter

func (mr *MockPokerRepositoryMockRecorder) Enter(ctx, roomID, loginID interface{}) *gomock.Call

Enter indicates an expected call of Enter.

func (*MockPokerRepositoryMockRecorder) IsExistsInRoom

func (mr *MockPokerRepositoryMockRecorder) IsExistsInRoom(ctx, roomID, loginID interface{}) *gomock.Call

IsExistsInRoom indicates an expected call of IsExistsInRoom.

func (*MockPokerRepositoryMockRecorder) Leave

func (mr *MockPokerRepositoryMockRecorder) Leave(ctx, roomID, loginID interface{}) *gomock.Call

Leave indicates an expected call of Leave.

func (*MockPokerRepositoryMockRecorder) ListMembers

func (mr *MockPokerRepositoryMockRecorder) ListMembers(ctx, roomID interface{}) *gomock.Call

ListMembers indicates an expected call of ListMembers.

func (*MockPokerRepositoryMockRecorder) ReadStream

func (mr *MockPokerRepositoryMockRecorder) ReadStream(ctx, roomID, messageID interface{}) *gomock.Call

ReadStream indicates an expected call of ReadStream.

func (*MockPokerRepositoryMockRecorder) ReadStreamLatest

func (mr *MockPokerRepositoryMockRecorder) ReadStreamLatest(ctx, roomID interface{}) *gomock.Call

ReadStreamLatest indicates an expected call of ReadStreamLatest.

func (*MockPokerRepositoryMockRecorder) Update

func (mr *MockPokerRepositoryMockRecorder) Update(ctx, ps interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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