Documentation ¶
Overview ¶
Package sessionservice manages business logic layer of sessions.
Package sessionservice is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface.
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance.
func (*MockRepo) Create ¶
func (m *MockRepo) Create(ctx context.Context, arg domain.CreateSessionParams) (domain.Session, error)
Create mocks base method.
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo.
func (*MockRepoMockRecorder) Create ¶
func (mr *MockRepoMockRecorder) Create(ctx, arg interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRepoMockRecorder) Get ¶
func (mr *MockRepoMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get.
type Repo ¶
type Repo interface { Create(ctx context.Context, arg domain.CreateSessionParams) (domain.Session, error) Get(ctx context.Context, id uuid.UUID) (domain.Session, error) }
Repo provides data access layer interface needed by session service layer.
type Service ¶
Service facilitates session service layer logic.
Click to show internal directories.
Click to hide internal directories.