game_usecase

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

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

func NewUsecase

func NewUsecase(conn transaction.Connection, gameSessionRepo repository.GameSessionRepository) *Usecase

func (Usecase) GetSession

func (u Usecase) GetSession(ctx context.Context, user model.User, gameSessionID uuid.UUID) (model.GameSession, error)

Jump to

Keyboard shortcuts

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