service

package
v0.0.0-...-771d5d4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GamingService

type GamingService struct {
	v1.UnimplementedGamingServer
	// contains filtered or unexported fields
}

func NewGamingService

func NewGamingService(gi *biz.GameInstanceUseCase, gf *biz.GameFileUseCase, logger log.Logger) *GamingService

func (*GamingService) CreateGameInstance

func (*GamingService) DeleteGameFile

func (g *GamingService) DeleteGameFile(ctx context.Context, request *v1.DeleteGameFileRequest) (*v1.DeleteGameFileResponse, error)

func (*GamingService) DeleteGameInstance

func (*GamingService) DeleteMemberConnection

func (*GamingService) DeleteSave

func (g *GamingService) DeleteSave(ctx context.Context, request *v1.DeleteSaveRequest) (*v1.DeleteSaveResponse, error)

func (*GamingService) GetControllers

func (g *GamingService) GetControllers(ctx context.Context, request *v1.GetControllersRequest) (*v1.GetControllersResponse, error)

func (*GamingService) GetEmulatorSpeed

func (*GamingService) GetEndpointStats

func (*GamingService) GetGameInstanceStats

func (*GamingService) GetGraphicOptions

func (*GamingService) GetServerICECandidate

func (*GamingService) ICECandidate

func (g *GamingService) ICECandidate(ctx context.Context, request *v1.ICECandidateRequest) (*v1.ICECandidateResponse, error)

func (*GamingService) ListGameInstances

func (*GamingService) ListGames

func (g *GamingService) ListGames(ctx context.Context, request *v1.ListGamesRequest) (*v1.ListGamesResponse, error)

func (*GamingService) ListSaves

func (g *GamingService) ListSaves(ctx context.Context, request *v1.ListSavesRequest) (*v1.ListSavesResponse, error)

func (*GamingService) ListSupportedEmulators

func (*GamingService) LoadSave

func (g *GamingService) LoadSave(ctx context.Context, request *v1.LoadSaveRequest) (*v1.LoadSaveResponse, error)

func (*GamingService) OpenGameConnection

func (*GamingService) PauseEmulator

func (g *GamingService) PauseEmulator(ctx context.Context, request *v1.PauseEmulatorRequest) (*v1.PauseEmulatorResponse, error)

func (*GamingService) RestartEmulator

func (g *GamingService) RestartEmulator(ctx context.Context, request *v1.RestartEmulatorRequest) (*v1.RestartEmulatorResponse, error)

func (*GamingService) SDPAnswer

func (g *GamingService) SDPAnswer(ctx context.Context, request *v1.SDPAnswerRequest) (*v1.SDPAnswerResponse, error)

func (*GamingService) SaveGame

func (g *GamingService) SaveGame(ctx context.Context, request *v1.SaveGameRequest) (*v1.SaveGameResponse, error)

func (*GamingService) SetController

func (g *GamingService) SetController(ctx context.Context, request *v1.SetControllerRequest) (*v1.SetControllerResponse, error)

func (*GamingService) SetEmulatorSpeed

func (*GamingService) SetGraphicOptions

func (*GamingService) UploadGame

func (g *GamingService) UploadGame(ctx context.Context, request *v1.UploadGameRequest) (*v1.UploadGameResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳