-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregion.go
49 lines (47 loc) · 861 Bytes
/
region.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package raiderio
// Region is a struct that represents a region available in Raider.IO API
type Region struct {
Name string `json:"name"`
Slug string `json:"slug"`
ShortName string `json:"short_name"`
}
// List of regions which can be used in queries in the library
var Regions = struct {
WORLD *Region
US *Region
EU *Region
KR *Region
TW *Region
CN *Region
}{
WORLD: &Region{
Name: "World",
Slug: "world",
ShortName: "world",
},
US: &Region{
Name: "US",
Slug: "us",
ShortName: "us",
},
EU: &Region{
Name: "EU",
Slug: "eu",
ShortName: "eu",
},
KR: &Region{
Name: "KR",
Slug: "kr",
ShortName: "kr",
},
TW: &Region{
Name: "TW",
Slug: "tw",
ShortName: "tw",
},
CN: &Region{
Name: "CN",
Slug: "cn",
ShortName: "cn",
},
}