fix(game): complete scoped session repository interface

This commit is contained in:
zhx 2026-06-10 11:28:25 +08:00
parent 59a609a45d
commit 49381e12c0

View File

@ -248,6 +248,9 @@ func (unavailableRepository) CreateLaunchSession(context.Context, gamedomain.Lau
func (unavailableRepository) GetLaunchSessionByToken(context.Context, string, string) (gamedomain.LaunchSession, error) { func (unavailableRepository) GetLaunchSessionByToken(context.Context, string, string) (gamedomain.LaunchSession, error) {
return gamedomain.LaunchSession{}, xerr.New(xerr.Unavailable, "game repository is not configured") return gamedomain.LaunchSession{}, xerr.New(xerr.Unavailable, "game repository is not configured")
} }
func (unavailableRepository) GetLaunchSessionByTokenScope(context.Context, string, string, string, string) (gamedomain.LaunchSession, error) {
return gamedomain.LaunchSession{}, xerr.New(xerr.Unavailable, "game repository is not configured")
}
func (unavailableRepository) InsertCallbackLog(context.Context, gamedomain.CallbackLog) error { func (unavailableRepository) InsertCallbackLog(context.Context, gamedomain.CallbackLog) error {
return xerr.New(xerr.Unavailable, "game repository is not configured") return xerr.New(xerr.Unavailable, "game repository is not configured")
} }