Documentation ¶
Index ¶
- func GetCharactersCharacterIdNotifications(w http.ResponseWriter, r *http.Request)
- func GetCharactersCharacterIdWalletJournal(w http.ResponseWriter, r *http.Request)
- func Logger(inner http.Handler, name string) http.Handler
- type BadRequest
- type ErrorLimited
- type Forbidden
- type GatewayTimeout
- type GetCharactersCharacterIdNotifications200Ok
- type GetCharactersCharacterIdWalletJournal200Ok
- type InternalServerError
- type ServiceUnavailable
- type Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCharactersCharacterIdNotifications ¶
func GetCharactersCharacterIdNotifications(w http.ResponseWriter, r *http.Request)
func GetCharactersCharacterIdWalletJournal ¶
func GetCharactersCharacterIdWalletJournal(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 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 GetCharactersCharacterIdWalletJournal200Ok ¶
type GetCharactersCharacterIdWalletJournal200Ok 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.\" */ 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 InternalServerError ¶
type InternalServerError struct { /* Internal server error message */ Error_ string `json:"error,omitempty"` }
Internal server error model
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_character.go
- api_wallet.go
- logger.go
- model_bad_request.go
- model_error_limited.go
- model_forbidden.go
- model_gateway_timeout.go
- model_get_characters_character_id_notifications_200_ok.go
- model_get_characters_character_id_wallet_journal_200_ok.go
- model_internal_server_error.go
- model_service_unavailable.go
- model_unauthorized.go
- routers.go
Click to show internal directories.
Click to hide internal directories.