esiv6

package
v0.0.0-...-18d2f87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Go API Server for esiv6

An OpenAPI for EVE Online

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.21
Running the server

To run the server, follow these simple steps:

go run main.go

Documentation

Index

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)

func Logger

func Logger(inner http.Handler, name string) http.Handler

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 {
	/*
	 Service unavailable message */
	Error_ string `json:"error,omitempty"`
}

Service unavailable model

type Unauthorized

type Unauthorized struct {
	/*
	 Unauthorized message */
	Error_ string `json:"error,omitempty"`
}

Unauthorized model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL