Documentation ¶
Index ¶
- Constants
- func Parse(raw []byte, model Model) error
- type API
- func (api API) Characters() ([]Character, error)
- func (api API) KillLog(character *Character) (kills Kills, err error)
- func (api *API) Queue(character *Character) (queue SkillQueue, err error)
- func (api *API) Request(urlPrefix string, values url.Values, model Model) (err error)
- func (api *API) SkillTree() (tree Tree, err error)
- type APIError
- type APIFace
- type Character
- type Characters
- type EVEAPI
- type Group
- type GroupSkill
- type Kill
- type Kills
- type Model
- type ModelStore
- type Skill
- type SkillQueue
- type Tree
- type Victim
- type WithItems
- type WithKey
Constants ¶
View Source
const ( HOST = "https://api.eveonline.com" TREE = "/eve/SkillTree.xml.aspx" CHARACTERS = "/account/Characters.xml.aspx" QUEUE = "/char/SkillQueue.xml.aspx" KILLS = "/char/KillLog.xml.aspx" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (API) Characters ¶
type Character ¶
type Characters ¶
type EVEAPI ¶
type Group ¶
type Group struct { Name string `xml:"groupName,attr"` Skill []GroupSkill `xml:"rowset>row"` }
type GroupSkill ¶
type GroupSkill struct {
Name string `xml:"typeName,attr"`
}
type Kills ¶
type Kills struct { EVEAPI ModelStore Kills []Kill `xml:"result>rowset>row"` }
type ModelStore ¶
type ModelStore struct {
Kills []WithKey
}
type SkillQueue ¶
func (SkillQueue) FormKey ¶
func (c SkillQueue) FormKey() bson.M
Click to show internal directories.
Click to hide internal directories.