region

package
v0.0.0-...-cbc503f Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BaseEndpoint = "api.riotgames.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Region

type Region int

Region represents one of the supported Riot Regions

const (
	BR1 Region = iota
	EUN1
	EUW1
	JP1
	KR
	LA1
	LA2
	NA
	NA1
	OC1
	TR
	RU
	PBE
	Americas
	Europe
	Asia
)

func (Region) GetRegionalEndpoint

func (region Region) GetRegionalEndpoint() string

GetRegionalEndpoint returns the endpoint of this region

func (Region) RegionalProxy

func (region Region) RegionalProxy() bool

RegionalProxy returns true is this region is part of the Regional Proxies

func (Region) ServiceProxy

func (region Region) ServiceProxy() bool

ServiceProxy returns true is this region is part of the Service Proxies

func (Region) String

func (region Region) String() string

String returns the string representation of the region

Jump to

Keyboard shortcuts

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