Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResponse ¶
type ApiResponse struct {
Package *Package `json:"package"`
}
type Attacker ¶
type Attacker struct { Alliance Alliance `json:"alliance"` ShipType ShipType `json:"shipType"` Corporation Corporation `json:"corporation"` Character Character `json:"character"` DamageDoneStr string `json:"damageDone_str"` WeaponType WeaponType `json:"weaponType"` FinalBlow bool `json:"finalBlow"` SecurityStatus float64 `json:"securityStatus"` DamageDone int64 `json:"damageDone"` }
type Corporation ¶
type Item ¶
type Item struct { Singleton int64 `json:"singleton"` ItemType ItemType `json:"itemType"` QuantityDestroyedStr string `json:"quantityDestroyed_str,omitempty"` Flag int64 `json:"flag"` FlagStr string `json:"flag_str"` SingletonStr string `json:"singleton_str"` QuantityDestroyed int64 `json:"quantityDestroyed,omitempty"` QuantityDroppedStr string `json:"quantityDropped_str,omitempty"` QuantityDropped int64 `json:"quantityDropped,omitempty"` }
type Killmail ¶
type Killmail struct { SolarSystem SolarSystem `json:"solarSystem"` KillID int64 `json:"killID"` KillTime string `json:"killTime"` Attackers []Attacker `json:"attackers"` AttackerCount int64 `json:"attackerCount"` Victim Victim `json:"victim"` KillIDStr string `json:"killID_str"` AttackerCountStr string `json:"attackerCount_str"` War War `json:"war"` }
type SolarSystem ¶
type Victim ¶
type Victim struct { Alliance Alliance `json:"alliance"` DamageTaken int64 `json:"damageTaken"` Items []Item `json:"items"` DamageTakenStr string `json:"damageTaken_str"` Character Character `json:"character"` ShipType ShipType `json:"shipType"` Corporation Corporation `json:"corporation"` Position Position `json:"position"` }
type WeaponType ¶
type ZKillboardRedisQClient ¶
type ZKillboardRedisQClient struct{}
func NewZKillboardRedisQClient ¶
func NewZKillboardRedisQClient() *ZKillboardRedisQClient
func (ZKillboardRedisQClient) Listen ¶
func (z ZKillboardRedisQClient) Listen(killPackages chan *Package, errs chan error)
func (ZKillboardRedisQClient) ListenOnce ¶
func (z ZKillboardRedisQClient) ListenOnce() (*Package, []error)
Click to show internal directories.
Click to hide internal directories.