blob: d79850bcf906f4f2901bdeb4cbd10c1799b2e354 (
plain)
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
|
package main
import (
"time"
)
type Killmail struct {
Id uint64 `json:"id"`
Hash string `json:"hash"`
}
type Team []uint32
type Battle struct {
Id string `json:"-"`
LastModified time.Time `json:"-"`
StartTime time.Time `json:"started_at"`
EndTime time.Time `json:"ended_at"`
Teams [2]Team `json:"teams"`
Killmails []Killmail `json:"killmails"`
Name string `json:"name"`
}
type EsiKillmail struct {
SolarSystemId int32 `json:"solar_system_id"`
Victim struct {
Position struct {
X float64 `json:"x"`
Y float64 `json:"y"`
Z float64 `json:"z"`
} `json:"position"`
} `json:"victim"`
Time time.Time `json:"killmail_time"`
}
type EsiUniverseSystem struct {
Name string `json:"name"`
}
|