discovery

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	ServiceWithEdu
	Issuer string `json:"issuer"`
}

type Discovery

type Discovery struct {
	ServiceEnvironments struct {
		Persona        map[string]ServiceWithTitle `json:"persona"`
		Store          map[string]ServiceWithEdu   `json:"store"`
		Auth           map[string]AuthService      `json:"auth"`
		Signaling      map[string]SignalingService `json:"signaling"`
		Filetocloud    map[string]Service          `json:"filetocloud"`
		Safety         map[string]Service          `json:"safety"`
		Mpsas          map[string]Service          `json:"mpsas"`
		Gatherings     map[string]Service          `json:"gatherings"`
		Messaging      map[string]Service          `json:"messaging"`
		Entitlements   map[string]ServiceWithTitle `json:"entitlements"`
		Frontend       map[string]Service          `json:"frontend"`
		Multiplayer    map[string]Service          `json:"multiplayer"`
		Cdn            map[string]Service          `json:"cdn"`
		Realmsfrontend map[string]ServiceWithTitle `json:"realmsfrontend"`
	} `json:"serviceEnvironments"`
	SupportedEnvironments map[string][]string `json:"supportedEnvironments"`
	// contains filtered or unexported fields
}

func GetDiscovery

func GetDiscovery(env string) (*Discovery, error)

func (*Discovery) AuthService

func (d *Discovery) AuthService() (AuthService, error)

func (*Discovery) CdnService

func (d *Discovery) CdnService() (Service, error)

func (*Discovery) EntitlementsService

func (d *Discovery) EntitlementsService() (ServiceWithTitle, error)

func (*Discovery) FiletocloudService

func (d *Discovery) FiletocloudService() (Service, error)

func (*Discovery) FrontendService

func (d *Discovery) FrontendService() (Service, error)

func (*Discovery) GatheringsService

func (d *Discovery) GatheringsService() (Service, error)

func (*Discovery) MessagingService

func (d *Discovery) MessagingService() (Service, error)

func (*Discovery) MpsasService

func (d *Discovery) MpsasService() (Service, error)

func (*Discovery) MultiplayerService

func (d *Discovery) MultiplayerService() (Service, error)

func (*Discovery) PersonaService

func (d *Discovery) PersonaService() (ServiceWithTitle, error)

func (*Discovery) RealmsfrontendService

func (d *Discovery) RealmsfrontendService() (ServiceWithTitle, error)

func (*Discovery) SafetyService

func (d *Discovery) SafetyService() (Service, error)

func (*Discovery) SignalingService

func (d *Discovery) SignalingService() (SignalingService, error)

func (*Discovery) StoreService

func (d *Discovery) StoreService() (ServiceWithEdu, error)

type Service

type Service struct {
	ServiceURI string `json:"serviceUri"`
}

type ServiceWithEdu

type ServiceWithEdu struct {
	ServiceWithTitle
	EduPlayFabTitleID string `json:"eduPlayFabTitleId"`
}

type ServiceWithTitle

type ServiceWithTitle struct {
	Service
	PlayfabTitleID string `json:"playfabTitleId"`
}

type SignalingService

type SignalingService struct {
	Service
	StunURI string `json:"stunUri"`
	TurnURI string `json:"turnUri"`
}

Jump to

Keyboard shortcuts

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