model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: model.go

Generated by this command:

mockgen -source=model.go -destination model_mock.go -package model MODEL

Package model is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockstorePG

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

MockstorePG is a mock of storePG interface.

func NewMockstorePG

func NewMockstorePG(ctrl *gomock.Controller) *MockstorePG

NewMockstorePG creates a new mock instance.

func (*MockstorePG) CreateRoomById

func (m *MockstorePG) CreateRoomById(ctx context.Context, id string) error

CreateRoomById mocks base method.

func (*MockstorePG) DeleteRoomById

func (m *MockstorePG) DeleteRoomById(ctx context.Context, id string) error

DeleteRoomById mocks base method.

func (*MockstorePG) EXPECT

func (m *MockstorePG) EXPECT() *MockstorePGMockRecorder

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

func (*MockstorePG) RoomExists

func (m *MockstorePG) RoomExists(ctx context.Context, id string) (bool, error)

RoomExists mocks base method.

type MockstorePGMockRecorder

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

MockstorePGMockRecorder is the mock recorder for MockstorePG.

func (*MockstorePGMockRecorder) CreateRoomById

func (mr *MockstorePGMockRecorder) CreateRoomById(ctx, id any) *gomock.Call

CreateRoomById indicates an expected call of CreateRoomById.

func (*MockstorePGMockRecorder) DeleteRoomById

func (mr *MockstorePGMockRecorder) DeleteRoomById(ctx, id any) *gomock.Call

DeleteRoomById indicates an expected call of DeleteRoomById.

func (*MockstorePGMockRecorder) RoomExists

func (mr *MockstorePGMockRecorder) RoomExists(ctx, id any) *gomock.Call

RoomExists indicates an expected call of RoomExists.

type Room

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

func NewModelRoom

func NewModelRoom(s storePG) *Room

func (*Room) CreateRoom

func (r *Room) CreateRoom(ctx context.Context) (string, error)

func (*Room) DeleteRoom

func (r *Room) DeleteRoom(ctx context.Context, id openapi_types.UUID) error

func (*Room) RoomExistsUUID

func (r *Room) RoomExistsUUID(ctx context.Context, roomID openapi_types.UUID) (bool, error)

Jump to

Keyboard shortcuts

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