Help us shape the future of Go! Take the 2026 Go Developer Survey

session

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "3.33.0"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewSessionClient

func NewSessionClient(configRepository repository.ConfigRepository) *sessionclient.JusticeSessionService

Types

type CertificateService

type CertificateService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*CertificateService) GetAuthSession

func (aaa *CertificateService) GetAuthSession() auth.Session

func (*CertificateService) UpdateFlightId

func (aaa *CertificateService) UpdateFlightId(flightId string)

type ConfigService

type ConfigService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AdminGetLogConfigShort

func (aaa *ConfigService) AdminGetLogConfigShort(input *config.AdminGetLogConfigParams) (*config.AdminGetLogConfigResponse, error)

func (*ConfigService) AdminPatchUpdateLogConfigShort

func (*ConfigService) GetAuthSession

func (aaa *ConfigService) GetAuthSession() auth.Session

func (*ConfigService) UpdateFlightId

func (aaa *ConfigService) UpdateFlightId(flightId string)

type ConfigurationTemplateService

type ConfigurationTemplateService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigurationTemplateService) AdminDeleteConfigurationAlertV1Short

func (aaa *ConfigurationTemplateService) AdminDeleteConfigurationAlertV1Short(input *configuration_template.AdminDeleteConfigurationAlertV1Params) error

func (*ConfigurationTemplateService) AdminDeleteConfigurationTemplateV1Short

func (aaa *ConfigurationTemplateService) AdminDeleteConfigurationTemplateV1Short(input *configuration_template.AdminDeleteConfigurationTemplateV1Params) error

func (*ConfigurationTemplateService) GetAuthSession

func (aaa *ConfigurationTemplateService) GetAuthSession() auth.Session

func (*ConfigurationTemplateService) UpdateFlightId

func (aaa *ConfigurationTemplateService) UpdateFlightId(flightId string)

type DSMCDefaultConfigurationService

type DSMCDefaultConfigurationService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*DSMCDefaultConfigurationService) GetAuthSession

func (aaa *DSMCDefaultConfigurationService) GetAuthSession() auth.Session

func (*DSMCDefaultConfigurationService) UpdateFlightId

func (aaa *DSMCDefaultConfigurationService) UpdateFlightId(flightId string)

type EnvironmentVariableService

type EnvironmentVariableService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*EnvironmentVariableService) GetAuthSession

func (aaa *EnvironmentVariableService) GetAuthSession() auth.Session

func (*EnvironmentVariableService) UpdateFlightId

func (aaa *EnvironmentVariableService) UpdateFlightId(flightId string)

type GameSessionService

type GameSessionService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*GameSessionService) AdminKickGameSessionMemberShort

func (aaa *GameSessionService) AdminKickGameSessionMemberShort(input *game_session.AdminKickGameSessionMemberParams) error

func (*GameSessionService) AdminSetDSReadyShort

func (aaa *GameSessionService) AdminSetDSReadyShort(input *game_session.AdminSetDSReadyParams) error

func (*GameSessionService) AdminUpdateDSInformationShort added in v0.2.0

func (aaa *GameSessionService) AdminUpdateDSInformationShort(input *game_session.AdminUpdateDSInformationParams) error

func (*GameSessionService) CreateGameSessionShort

func (*GameSessionService) DeleteGameSessionShort

func (aaa *GameSessionService) DeleteGameSessionShort(input *game_session.DeleteGameSessionParams) error

func (*GameSessionService) GetAuthSession

func (aaa *GameSessionService) GetAuthSession() auth.Session

func (*GameSessionService) GetGameSessionShort

func (*GameSessionService) JoinGameSessionShort

func (*GameSessionService) LeaveGameSessionShort

func (aaa *GameSessionService) LeaveGameSessionShort(input *game_session.LeaveGameSessionParams) error

func (*GameSessionService) PublicGameSessionCancelShort

func (aaa *GameSessionService) PublicGameSessionCancelShort(input *game_session.PublicGameSessionCancelParams) error

func (*GameSessionService) PublicGameSessionInviteShort

func (aaa *GameSessionService) PublicGameSessionInviteShort(input *game_session.PublicGameSessionInviteParams) error

func (*GameSessionService) PublicGameSessionRejectShort

func (aaa *GameSessionService) PublicGameSessionRejectShort(input *game_session.PublicGameSessionRejectParams) error

func (*GameSessionService) PublicGetGameSessionPasswordShort added in v0.10.0

func (*GameSessionService) PublicKickGameSessionMemberShort

func (aaa *GameSessionService) PublicKickGameSessionMemberShort(input *game_session.PublicKickGameSessionMemberParams) error

func (*GameSessionService) PublicRevokeGameSessionCodeShort

func (aaa *GameSessionService) PublicRevokeGameSessionCodeShort(input *game_session.PublicRevokeGameSessionCodeParams) error

func (*GameSessionService) PublicUpdateGameSessionPasswordShort added in v0.10.0

func (aaa *GameSessionService) PublicUpdateGameSessionPasswordShort(input *game_session.PublicUpdateGameSessionPasswordParams) error

func (*GameSessionService) UpdateFlightId

func (aaa *GameSessionService) UpdateFlightId(flightId string)

func (*GameSessionService) UpdateGameSessionShort

type GlobalConfigurationService

type GlobalConfigurationService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*GlobalConfigurationService) GetAuthSession

func (aaa *GlobalConfigurationService) GetAuthSession() auth.Session

func (*GlobalConfigurationService) UpdateFlightId

func (aaa *GlobalConfigurationService) UpdateFlightId(flightId string)

type MaxActiveService

type MaxActiveService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*MaxActiveService) AdminReconcileMaxActiveSessionShort

func (aaa *MaxActiveService) AdminReconcileMaxActiveSessionShort(input *max_active.AdminReconcileMaxActiveSessionParams) error

func (*MaxActiveService) GetAuthSession

func (aaa *MaxActiveService) GetAuthSession() auth.Session

func (*MaxActiveService) UpdateFlightId

func (aaa *MaxActiveService) UpdateFlightId(flightId string)

type NativeSessionService

type NativeSessionService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*NativeSessionService) GetAuthSession

func (aaa *NativeSessionService) GetAuthSession() auth.Session

func (*NativeSessionService) UpdateFlightId

func (aaa *NativeSessionService) UpdateFlightId(flightId string)

type OperationsService

type OperationsService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OperationsService) GetAuthSession

func (aaa *OperationsService) GetAuthSession() auth.Session

func (*OperationsService) GetHealthcheckInfoShort

func (aaa *OperationsService) GetHealthcheckInfoShort(input *operations.GetHealthcheckInfoParams) error

func (*OperationsService) GetHealthcheckInfoV1Short

func (aaa *OperationsService) GetHealthcheckInfoV1Short(input *operations.GetHealthcheckInfoV1Params) error

func (*OperationsService) UpdateFlightId

func (aaa *OperationsService) UpdateFlightId(flightId string)

type PartyService

type PartyService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PartyService) AdminDeleteBulkPartiesShort

func (aaa *PartyService) AdminDeleteBulkPartiesShort(input *party.AdminDeleteBulkPartiesParams) (*party.AdminDeleteBulkPartiesResponse, error)

func (*PartyService) AdminQueryPartiesShort

func (aaa *PartyService) AdminQueryPartiesShort(input *party.AdminQueryPartiesParams) (*party.AdminQueryPartiesResponse, error)

func (*PartyService) AdminSyncNativeSessionShort

func (aaa *PartyService) AdminSyncNativeSessionShort(input *party.AdminSyncNativeSessionParams) error

func (*PartyService) GetAuthSession

func (aaa *PartyService) GetAuthSession() auth.Session

func (*PartyService) PublicCreatePartyShort

func (aaa *PartyService) PublicCreatePartyShort(input *party.PublicCreatePartyParams) (*party.PublicCreatePartyResponse, error)

func (*PartyService) PublicGeneratePartyCodeShort

func (aaa *PartyService) PublicGeneratePartyCodeShort(input *party.PublicGeneratePartyCodeParams) (*party.PublicGeneratePartyCodeResponse, error)

func (*PartyService) PublicGetPartyPasswordShort added in v0.10.0

func (aaa *PartyService) PublicGetPartyPasswordShort(input *party.PublicGetPartyPasswordParams) (*party.PublicGetPartyPasswordResponse, error)

func (*PartyService) PublicGetPartyShort

func (aaa *PartyService) PublicGetPartyShort(input *party.PublicGetPartyParams) (*party.PublicGetPartyResponse, error)

func (*PartyService) PublicPartyCancelShort

func (aaa *PartyService) PublicPartyCancelShort(input *party.PublicPartyCancelParams) error

func (*PartyService) PublicPartyInviteShort

func (aaa *PartyService) PublicPartyInviteShort(input *party.PublicPartyInviteParams) (*party.PublicPartyInviteResponse, error)

func (*PartyService) PublicPartyJoinCodeShort

func (aaa *PartyService) PublicPartyJoinCodeShort(input *party.PublicPartyJoinCodeParams) (*party.PublicPartyJoinCodeResponse, error)

func (*PartyService) PublicPartyJoinShort

func (aaa *PartyService) PublicPartyJoinShort(input *party.PublicPartyJoinParams) (*party.PublicPartyJoinResponse, error)

func (*PartyService) PublicPartyKickShort

func (aaa *PartyService) PublicPartyKickShort(input *party.PublicPartyKickParams) (*party.PublicPartyKickResponse, error)

func (*PartyService) PublicPartyLeaveShort

func (aaa *PartyService) PublicPartyLeaveShort(input *party.PublicPartyLeaveParams) error

func (*PartyService) PublicPartyRejectShort

func (aaa *PartyService) PublicPartyRejectShort(input *party.PublicPartyRejectParams) error

func (*PartyService) PublicPatchUpdatePartyShort

func (aaa *PartyService) PublicPatchUpdatePartyShort(input *party.PublicPatchUpdatePartyParams) (*party.PublicPatchUpdatePartyResponse, error)

func (*PartyService) PublicPromotePartyLeaderShort

func (aaa *PartyService) PublicPromotePartyLeaderShort(input *party.PublicPromotePartyLeaderParams) (*party.PublicPromotePartyLeaderResponse, error)

func (*PartyService) PublicQueryMyPartiesShort

func (aaa *PartyService) PublicQueryMyPartiesShort(input *party.PublicQueryMyPartiesParams) (*party.PublicQueryMyPartiesResponse, error)

func (*PartyService) PublicRevokePartyCodeShort

func (aaa *PartyService) PublicRevokePartyCodeShort(input *party.PublicRevokePartyCodeParams) error

func (*PartyService) PublicUpdatePartyPasswordShort added in v0.10.0

func (aaa *PartyService) PublicUpdatePartyPasswordShort(input *party.PublicUpdatePartyPasswordParams) error

func (*PartyService) PublicUpdatePartyShort

func (aaa *PartyService) PublicUpdatePartyShort(input *party.PublicUpdatePartyParams) (*party.PublicUpdatePartyResponse, error)

func (*PartyService) UpdateFlightId

func (aaa *PartyService) UpdateFlightId(flightId string)

type PlatformCredentialService

type PlatformCredentialService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PlatformCredentialService) AdminDeletePlatformCredentialsByPlatformIDShort

func (aaa *PlatformCredentialService) AdminDeletePlatformCredentialsByPlatformIDShort(input *platform_credential.AdminDeletePlatformCredentialsByPlatformIDParams) error

func (*PlatformCredentialService) AdminDeletePlatformCredentialsShort

func (aaa *PlatformCredentialService) AdminDeletePlatformCredentialsShort(input *platform_credential.AdminDeletePlatformCredentialsParams) error

func (*PlatformCredentialService) AdminUploadPlatformCredentialsShort added in v0.8.0

func (aaa *PlatformCredentialService) AdminUploadPlatformCredentialsShort(input *platform_credential.AdminUploadPlatformCredentialsParams) error

func (*PlatformCredentialService) GetAuthSession

func (aaa *PlatformCredentialService) GetAuthSession() auth.Session

func (*PlatformCredentialService) UpdateFlightId

func (aaa *PlatformCredentialService) UpdateFlightId(flightId string)

type PlayerService

type PlayerService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PlayerService) AdminGetPlayerAttributesShort

func (*PlayerService) AdminQueryPlayerAttributesShort

func (*PlayerService) GetAuthSession

func (aaa *PlayerService) GetAuthSession() auth.Session

func (*PlayerService) PublicDeletePlayerAttributesShort

func (aaa *PlayerService) PublicDeletePlayerAttributesShort(input *player.PublicDeletePlayerAttributesParams) error

func (*PlayerService) PublicGetPlayerAttributesShort

func (*PlayerService) PublicStorePlayerAttributesShort

func (*PlayerService) UpdateFlightId

func (aaa *PlayerService) UpdateFlightId(flightId string)

type RecentPlayerService

type RecentPlayerService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*RecentPlayerService) GetAuthSession

func (aaa *RecentPlayerService) GetAuthSession() auth.Session

func (*RecentPlayerService) UpdateFlightId

func (aaa *RecentPlayerService) UpdateFlightId(flightId string)

type SessionStorageService

type SessionStorageService struct {
	Client           *sessionclient.JusticeSessionService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*SessionStorageService) AdminDeleteUserSessionStorageShort

func (aaa *SessionStorageService) AdminDeleteUserSessionStorageShort(input *session_storage.AdminDeleteUserSessionStorageParams) error

func (*SessionStorageService) GetAuthSession

func (aaa *SessionStorageService) GetAuthSession() auth.Session

func (*SessionStorageService) PublicReplaceSessionStorageUserV2Short added in v0.10.0

func (*SessionStorageService) UpdateFlightId

func (aaa *SessionStorageService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

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