Documentation ¶
Index ¶
- func GetAlliancesAllianceId(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdAssets(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdCalendarEventId(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdClones(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdNotifications(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdSkills(w http.ResponseWriter, r *http.Request)
- func GetCorporationsCorporationId(w http.ResponseWriter, r *http.Request)
- func GetCorporationsCorporationIdAssets(w http.ResponseWriter, r *http.Request)
- func GetCorporationsCorporationIdMembers(w http.ResponseWriter, r *http.Request)
- func GetCorporationsCorporationIdStructures(w http.ResponseWriter, r *http.Request)
- func GetCorporationsCorporationIdWalletsDivisionJournal(w http.ResponseWriter, r *http.Request)
- func GetUniverseSystemsSystemId(w http.ResponseWriter, r *http.Request)
- func Logger(inner http.Handler, name string) http.Handler
- func PostCharactersCharacterIdCspa(w http.ResponseWriter, r *http.Request)
- func PutCharactersCharacterIdCalendarEventId(w http.ResponseWriter, r *http.Request)
- type BadRequest
- type ErrorLimited
- type Forbidden
- type GatewayTimeout
- type GetAlliancesAllianceIdNotFound
- type GetAlliancesAllianceIdOk
- type GetCharactersCharacterIdAssets200Ok
- type GetCharactersCharacterIdCalendarEventIdNotFound
- type GetCharactersCharacterIdCalendarEventIdOk
- type GetCharactersCharacterIdClonesHomeLocation
- type GetCharactersCharacterIdClonesJumpClone
- type GetCharactersCharacterIdClonesOk
- type GetCharactersCharacterIdNotifications200Ok
- type GetCharactersCharacterIdSkillsOk
- type GetCharactersCharacterIdSkillsSkill
- type GetCorporationsCorporationIdAssets200Ok
- type GetCorporationsCorporationIdNotFound
- type GetCorporationsCorporationIdOk
- type GetCorporationsCorporationIdStructures200Ok
- type GetCorporationsCorporationIdStructuresService
- type GetCorporationsCorporationIdWalletsDivisionJournal200Ok
- type GetUniverseSystemsSystemIdNotFound
- type GetUniverseSystemsSystemIdOk
- type GetUniverseSystemsSystemIdPlanet
- type GetUniverseSystemsSystemIdPosition
- type InternalServerError
- type PutCharactersCharacterIdCalendarEventIdResponse
- type ServiceUnavailable
- type Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlliancesAllianceId ¶
func GetAlliancesAllianceId(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdAssets ¶
func GetCharactersCharacterIdAssets(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdCalendarEventId ¶
func GetCharactersCharacterIdCalendarEventId(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdClones ¶
func GetCharactersCharacterIdClones(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdNotifications ¶
func GetCharactersCharacterIdNotifications(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdSkills ¶
func GetCharactersCharacterIdSkills(w http.ResponseWriter, r *http.Request)
func GetCorporationsCorporationId ¶
func GetCorporationsCorporationId(w http.ResponseWriter, r *http.Request)
func GetCorporationsCorporationIdAssets ¶
func GetCorporationsCorporationIdAssets(w http.ResponseWriter, r *http.Request)
func GetCorporationsCorporationIdMembers ¶
func GetCorporationsCorporationIdMembers(w http.ResponseWriter, r *http.Request)
func GetCorporationsCorporationIdStructures ¶
func GetCorporationsCorporationIdStructures(w http.ResponseWriter, r *http.Request)
func GetCorporationsCorporationIdWalletsDivisionJournal ¶
func GetCorporationsCorporationIdWalletsDivisionJournal(w http.ResponseWriter, r *http.Request)
func GetUniverseSystemsSystemId ¶
func GetUniverseSystemsSystemId(w http.ResponseWriter, r *http.Request)
func PostCharactersCharacterIdCspa ¶
func PostCharactersCharacterIdCspa(w http.ResponseWriter, r *http.Request)
func PutCharactersCharacterIdCalendarEventId ¶
func PutCharactersCharacterIdCalendarEventId(w http.ResponseWriter, r *http.Request)
Types ¶
type BadRequest ¶
type BadRequest struct { /* Bad request message */ Error_ string `json:"error,omitempty"` }
Bad request model
type ErrorLimited ¶
type ErrorLimited struct { /* Error limited message */ Error_ string `json:"error,omitempty"` }
Error limited model
type Forbidden ¶
type Forbidden struct { /* Forbidden message */ Error_ string `json:"error,omitempty"` /* status code received from SSO */ SsoStatus int32 `json:"sso_status,omitempty"` }
Forbidden model
type GatewayTimeout ¶
type GatewayTimeout struct { /* Gateway timeout message */ Error_ string `json:"error,omitempty"` /* number of seconds the request was given */ Timeout int32 `json:"timeout,omitempty"` }
Gateway timeout model
type GetAlliancesAllianceIdNotFound ¶
type GetAlliancesAllianceIdNotFound struct { /* Not found message */ Error_ string `json:"error,omitempty"` }
Not found
type GetAlliancesAllianceIdOk ¶
type GetAlliancesAllianceIdOk struct { /* ID of the corporation that created the alliance */ CreatorCorporationId int32 `json:"creator_corporation_id,omitempty"` /* ID of the character that created the alliance */ CreatorId int32 `json:"creator_id,omitempty"` /* date_founded string */ DateFounded time.Time `json:"date_founded,omitempty"` /* the executor corporation ID, if this alliance is not closed */ ExecutorCorporationId int32 `json:"executor_corporation_id,omitempty"` /* Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare */ FactionId int32 `json:"faction_id,omitempty"` /* the full name of the alliance */ Name string `json:"name,omitempty"` /* the short name of the alliance */ Ticker string `json:"ticker,omitempty"` }
200 ok object
type GetCharactersCharacterIdAssets200Ok ¶
type GetCharactersCharacterIdAssets200Ok struct { /* is_blueprint_copy boolean */ IsBlueprintCopy bool `json:"is_blueprint_copy,omitempty"` /* is_singleton boolean */ IsSingleton bool `json:"is_singleton,omitempty"` /* item_id integer */ ItemId int64 `json:"item_id,omitempty"` /* location_flag string */ LocationFlag string `json:"location_flag,omitempty"` /* location_id integer */ LocationId int64 `json:"location_id,omitempty"` /* location_type string */ LocationType string `json:"location_type,omitempty"` /* quantity integer */ Quantity int32 `json:"quantity,omitempty"` /* type_id integer */ TypeId int32 `json:"type_id,omitempty"` }
200 ok object
type GetCharactersCharacterIdCalendarEventIdNotFound ¶
type GetCharactersCharacterIdCalendarEventIdNotFound struct { /* Not found message */ Error_ string `json:"error,omitempty"` }
Not found
type GetCharactersCharacterIdCalendarEventIdOk ¶
type GetCharactersCharacterIdCalendarEventIdOk struct { /* date string */ Date time.Time `json:"date,omitempty"` /* Length in minutes */ Duration int32 `json:"duration,omitempty"` /* event_id integer */ EventId int32 `json:"event_id,omitempty"` /* importance integer */ Importance int32 `json:"importance,omitempty"` /* owner_id integer */ OwnerId int32 `json:"owner_id,omitempty"` /* owner_name string */ OwnerName string `json:"owner_name,omitempty"` /* owner_type string */ OwnerType string `json:"owner_type,omitempty"` /* response string */ Response string `json:"response,omitempty"` /* text string */ Text string `json:"text,omitempty"` /* title string */ Title string `json:"title,omitempty"` }
Full details of a specific event
type GetCharactersCharacterIdClonesHomeLocation ¶
type GetCharactersCharacterIdClonesHomeLocation struct { /* location_id integer */ LocationId int64 `json:"location_id,omitempty"` /* location_type string */ LocationType string `json:"location_type,omitempty"` }
home_location object
type GetCharactersCharacterIdClonesJumpClone ¶
type GetCharactersCharacterIdClonesJumpClone struct { /* implants array */ Implants []int32 `json:"implants,omitempty"` /* jump_clone_id integer */ JumpCloneId int32 `json:"jump_clone_id,omitempty"` /* location_id integer */ LocationId int64 `json:"location_id,omitempty"` /* location_type string */ LocationType string `json:"location_type,omitempty"` /* name string */ Name string `json:"name,omitempty"` }
jump_clone object
type GetCharactersCharacterIdClonesOk ¶
type GetCharactersCharacterIdClonesOk struct { /* */ HomeLocation GetCharactersCharacterIdClonesHomeLocation `json:"home_location,omitempty"` /* jump_clones array */ JumpClones []GetCharactersCharacterIdClonesJumpClone `json:"jump_clones,omitempty"` /* last_clone_jump_date string */ LastCloneJumpDate time.Time `json:"last_clone_jump_date,omitempty"` /* last_station_change_date string */ LastStationChangeDate time.Time `json:"last_station_change_date,omitempty"` }
200 ok object
type GetCharactersCharacterIdNotifications200Ok ¶
type GetCharactersCharacterIdNotifications200Ok struct { /* is_read boolean */ IsRead bool `json:"is_read,omitempty"` /* notification_id integer */ NotificationId int64 `json:"notification_id,omitempty"` /* sender_id integer */ SenderId int32 `json:"sender_id,omitempty"` /* sender_type string */ SenderType string `json:"sender_type,omitempty"` /* text string */ Text string `json:"text,omitempty"` /* timestamp string */ Timestamp time.Time `json:"timestamp,omitempty"` /* type string */ Type_ string `json:"type,omitempty"` }
200 ok object
type GetCharactersCharacterIdSkillsOk ¶
type GetCharactersCharacterIdSkillsOk struct { /* skills array */ Skills []GetCharactersCharacterIdSkillsSkill `json:"skills,omitempty"` /* total_sp integer */ TotalSp int64 `json:"total_sp,omitempty"` /* Skill points available to be assigned */ UnallocatedSp int32 `json:"unallocated_sp,omitempty"` }
200 ok object
type GetCharactersCharacterIdSkillsSkill ¶
type GetCharactersCharacterIdSkillsSkill struct { /* active_skill_level integer */ ActiveSkillLevel int32 `json:"active_skill_level,omitempty"` /* skill_id integer */ SkillId int32 `json:"skill_id,omitempty"` /* skillpoints_in_skill integer */ SkillpointsInSkill int64 `json:"skillpoints_in_skill,omitempty"` /* trained_skill_level integer */ TrainedSkillLevel int32 `json:"trained_skill_level,omitempty"` }
skill object
type GetCorporationsCorporationIdAssets200Ok ¶
type GetCorporationsCorporationIdAssets200Ok struct { /* is_blueprint_copy boolean */ IsBlueprintCopy bool `json:"is_blueprint_copy,omitempty"` /* is_singleton boolean */ IsSingleton bool `json:"is_singleton,omitempty"` /* item_id integer */ ItemId int64 `json:"item_id,omitempty"` /* location_flag string */ LocationFlag string `json:"location_flag,omitempty"` /* location_id integer */ LocationId int64 `json:"location_id,omitempty"` /* location_type string */ LocationType string `json:"location_type,omitempty"` /* quantity integer */ Quantity int32 `json:"quantity,omitempty"` /* type_id integer */ TypeId int32 `json:"type_id,omitempty"` }
200 ok object
type GetCorporationsCorporationIdNotFound ¶
type GetCorporationsCorporationIdNotFound struct { /* Not found message */ Error_ string `json:"error,omitempty"` }
Not found
type GetCorporationsCorporationIdOk ¶
type GetCorporationsCorporationIdOk struct { /* ID of the alliance that corporation is a member of, if any */ AllianceId int32 `json:"alliance_id,omitempty"` /* ceo_id integer */ CeoId int32 `json:"ceo_id,omitempty"` /* creator_id integer */ CreatorId int32 `json:"creator_id,omitempty"` /* date_founded string */ DateFounded time.Time `json:"date_founded,omitempty"` /* description string */ Description string `json:"description,omitempty"` /* faction_id integer */ FactionId int32 `json:"faction_id,omitempty"` /* home_station_id integer */ HomeStationId int32 `json:"home_station_id,omitempty"` /* member_count integer */ MemberCount int32 `json:"member_count,omitempty"` /* the full name of the corporation */ Name string `json:"name,omitempty"` Shares int64 `json:"shares,omitempty"` /* tax_rate number */ TaxRate float32 `json:"tax_rate,omitempty"` /* the short name of the corporation */ Ticker string `json:"ticker,omitempty"` /* url string */ Url string `json:"url,omitempty"` /* war_eligible boolean */ WarEligible bool `json:"war_eligible,omitempty"` }
200 ok object
type GetCorporationsCorporationIdStructures200Ok ¶
type GetCorporationsCorporationIdStructures200Ok struct { /* ID of the corporation that owns the structure */ CorporationId int32 `json:"corporation_id,omitempty"` /* Date on which the structure will run out of fuel */ FuelExpires time.Time `json:"fuel_expires,omitempty"` /* The structure name */ Name string `json:"name,omitempty"` /* The date and time when the structure's newly requested reinforcement times (e.g. next_reinforce_hour and next_reinforce_day) will take effect */ NextReinforceApply time.Time `json:"next_reinforce_apply,omitempty"` /* The requested change to reinforce_hour that will take effect at the time shown by next_reinforce_apply */ NextReinforceHour int32 `json:"next_reinforce_hour,omitempty"` /* The id of the ACL profile for this citadel */ ProfileId int32 `json:"profile_id,omitempty"` /* The hour of day that determines the four hour window when the structure will randomly exit its reinforcement periods and become vulnerable to attack against its armor and/or hull. The structure will become vulnerable at a random time that is +/- 2 hours centered on the value of this property */ ReinforceHour int32 `json:"reinforce_hour,omitempty"` /* Contains a list of service upgrades, and their state */ Services []GetCorporationsCorporationIdStructuresService `json:"services,omitempty"` /* state string */ State string `json:"state,omitempty"` /* Date at which the structure will move to it's next state */ StateTimerEnd time.Time `json:"state_timer_end,omitempty"` /* Date at which the structure entered it's current state */ StateTimerStart time.Time `json:"state_timer_start,omitempty"` /* The Item ID of the structure */ StructureId int64 `json:"structure_id,omitempty"` /* The solar system the structure is in */ SystemId int32 `json:"system_id,omitempty"` /* The type id of the structure */ TypeId int32 `json:"type_id,omitempty"` /* Date at which the structure will unanchor */ UnanchorsAt time.Time `json:"unanchors_at,omitempty"` }
200 ok object
type GetCorporationsCorporationIdStructuresService ¶
type GetCorporationsCorporationIdStructuresService struct { /* name string */ Name string `json:"name,omitempty"` /* state string */ State string `json:"state,omitempty"` }
service object
type GetCorporationsCorporationIdWalletsDivisionJournal200Ok ¶
type GetCorporationsCorporationIdWalletsDivisionJournal200Ok struct { /* The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn */ Amount float64 `json:"amount,omitempty"` /* Wallet balance after transaction occurred */ Balance float64 `json:"balance,omitempty"` /* An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id */ ContextId int64 `json:"context_id,omitempty"` /* The type of the given context_id if present */ ContextIdType string `json:"context_id_type,omitempty"` /* Date and time of transaction */ Date time.Time `json:"date,omitempty"` /* The reason for the transaction, mirrors what is seen in the client */ Description string `json:"description,omitempty"` /* The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name */ FirstPartyId int32 `json:"first_party_id,omitempty"` /* Unique journal reference ID */ Id int64 `json:"id,omitempty"` /* The user stated reason for the transaction. Only applies to some ref_types */ Reason string `json:"reason,omitempty"` /* \"The transaction type for the given. transaction. Different transaction types will populate different attributes. Note: If you have an existing XML API application that is using ref_types, you will need to know which string ESI ref_type maps to which integer. You can look at the following file to see string->int mappings: https://github.com/ccpgames/eve-glue/blob/master/eve_glue/wallet_journal_ref.py\" */ RefType string `json:"ref_type,omitempty"` /* The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name */ SecondPartyId int32 `json:"second_party_id,omitempty"` /* Tax amount received. Only applies to tax related transactions */ Tax float64 `json:"tax,omitempty"` /* The corporation ID receiving any tax paid. Only applies to tax related transactions */ TaxReceiverId int32 `json:"tax_receiver_id,omitempty"` }
200 ok object
type GetUniverseSystemsSystemIdNotFound ¶
type GetUniverseSystemsSystemIdNotFound struct { /* Not found message */ Error_ string `json:"error,omitempty"` }
Not found
type GetUniverseSystemsSystemIdOk ¶
type GetUniverseSystemsSystemIdOk struct { /* The constellation this solar system is in */ ConstellationId int32 `json:"constellation_id,omitempty"` /* name string */ Name string `json:"name,omitempty"` /* planets array */ Planets []GetUniverseSystemsSystemIdPlanet `json:"planets,omitempty"` /* */ Position GetUniverseSystemsSystemIdPosition `json:"position,omitempty"` /* security_class string */ SecurityClass string `json:"security_class,omitempty"` /* security_status number */ SecurityStatus float32 `json:"security_status,omitempty"` /* star_id integer */ StarId int32 `json:"star_id,omitempty"` /* stargates array */ Stargates []int32 `json:"stargates,omitempty"` /* stations array */ Stations []int32 `json:"stations,omitempty"` /* system_id integer */ SystemId int32 `json:"system_id,omitempty"` }
200 ok object
type GetUniverseSystemsSystemIdPlanet ¶
type GetUniverseSystemsSystemIdPlanet struct { /* asteroid_belts array */ AsteroidBelts []int32 `json:"asteroid_belts,omitempty"` /* moons array */ Moons []int32 `json:"moons,omitempty"` /* planet_id integer */ PlanetId int32 `json:"planet_id,omitempty"` }
planet object
type GetUniverseSystemsSystemIdPosition ¶
type GetUniverseSystemsSystemIdPosition struct { /* x number */ X float64 `json:"x,omitempty"` /* y number */ Y float64 `json:"y,omitempty"` /* z number */ Z float64 `json:"z,omitempty"` }
position object
type InternalServerError ¶
type InternalServerError struct { /* Internal server error message */ Error_ string `json:"error,omitempty"` }
Internal server error model
type PutCharactersCharacterIdCalendarEventIdResponse ¶
type PutCharactersCharacterIdCalendarEventIdResponse struct { /* response string */ Response string `json:"response,omitempty"` }
response object
type ServiceUnavailable ¶
type ServiceUnavailable struct { string `json:"error,omitempty"` }Error_
Service unavailable model
type Unauthorized ¶
type Unauthorized struct { string `json:"error,omitempty"` }Error_
Unauthorized model
Source Files ¶
- api_alliance.go
- api_assets.go
- api_calendar.go
- api_character.go
- api_clones.go
- api_corporation.go
- api_skills.go
- api_universe.go
- api_wallet.go
- logger.go
- model_bad_request.go
- model_error_limited.go
- model_forbidden.go
- model_gateway_timeout.go
- model_get_alliances_alliance_id_not_found.go
- model_get_alliances_alliance_id_ok.go
- model_get_characters_character_id_assets_200_ok.go
- model_get_characters_character_id_calendar_event_id_not_found.go
- model_get_characters_character_id_calendar_event_id_ok.go
- model_get_characters_character_id_clones_home_location.go
- model_get_characters_character_id_clones_jump_clone.go
- model_get_characters_character_id_clones_ok.go
- model_get_characters_character_id_notifications_200_ok.go
- model_get_characters_character_id_skills_ok.go
- model_get_characters_character_id_skills_skill.go
- model_get_corporations_corporation_id_assets_200_ok.go
- model_get_corporations_corporation_id_not_found.go
- model_get_corporations_corporation_id_ok.go
- model_get_corporations_corporation_id_structures_200_ok.go
- model_get_corporations_corporation_id_structures_service.go
- model_get_corporations_corporation_id_wallets_division_journal_200_ok.go
- model_get_universe_systems_system_id_not_found.go
- model_get_universe_systems_system_id_ok.go
- model_get_universe_systems_system_id_planet.go
- model_get_universe_systems_system_id_position.go
- model_internal_server_error.go
- model_put_characters_character_id_calendar_event_id_response.go
- model_service_unavailable.go
- model_unauthorized.go
- routers.go
Click to show internal directories.
Click to hide internal directories.