Documentation
¶
Index ¶
- func RegisterESIMarketsServer(s *grpc.Server, srv ESIMarketsServer)
- type ESIMarketsClient
- type ESIMarketsServer
- type ESIMarkets_GetRegionTypeUpdateStreamClient
- type ESIMarkets_GetRegionTypeUpdateStreamServer
- type GetOrderRequest
- func (*GetOrderRequest) Descriptor() ([]byte, []int)
- func (m *GetOrderRequest) GetOrderId() uint64
- func (*GetOrderRequest) ProtoMessage()
- func (m *GetOrderRequest) Reset()
- func (m *GetOrderRequest) String() string
- func (m *GetOrderRequest) XXX_DiscardUnknown()
- func (m *GetOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetOrderRequest) XXX_Merge(src proto.Message)
- func (m *GetOrderRequest) XXX_Size() int
- func (m *GetOrderRequest) XXX_Unmarshal(b []byte) error
- type GetOrdersResponse
- func (*GetOrdersResponse) Descriptor() ([]byte, []int)
- func (m *GetOrdersResponse) GetOrders() []*Order
- func (*GetOrdersResponse) ProtoMessage()
- func (m *GetOrdersResponse) Reset()
- func (m *GetOrdersResponse) String() string
- func (m *GetOrdersResponse) XXX_DiscardUnknown()
- func (m *GetOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetOrdersResponse) XXX_Merge(src proto.Message)
- func (m *GetOrdersResponse) XXX_Size() int
- func (m *GetOrdersResponse) XXX_Unmarshal(b []byte) error
- type GetRegionRequest
- func (*GetRegionRequest) Descriptor() ([]byte, []int)
- func (m *GetRegionRequest) GetRegionId() uint64
- func (*GetRegionRequest) ProtoMessage()
- func (m *GetRegionRequest) Reset()
- func (m *GetRegionRequest) String() string
- func (m *GetRegionRequest) XXX_DiscardUnknown()
- func (m *GetRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRegionRequest) XXX_Merge(src proto.Message)
- func (m *GetRegionRequest) XXX_Size() int
- func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error
- type GetRegionTypeRequest
- func (*GetRegionTypeRequest) Descriptor() ([]byte, []int)
- func (m *GetRegionTypeRequest) GetRegionId() uint64
- func (m *GetRegionTypeRequest) GetTypeId() uint64
- func (*GetRegionTypeRequest) ProtoMessage()
- func (m *GetRegionTypeRequest) Reset()
- func (m *GetRegionTypeRequest) String() string
- func (m *GetRegionTypeRequest) XXX_DiscardUnknown()
- func (m *GetRegionTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRegionTypeRequest) XXX_Merge(src proto.Message)
- func (m *GetRegionTypeRequest) XXX_Size() int
- func (m *GetRegionTypeRequest) XXX_Unmarshal(b []byte) error
- type GetRegionTypeUpdateStreamResponse
- func (*GetRegionTypeUpdateStreamResponse) Descriptor() ([]byte, []int)
- func (m *GetRegionTypeUpdateStreamResponse) GetRegionTypes() []*RegionType
- func (*GetRegionTypeUpdateStreamResponse) ProtoMessage()
- func (m *GetRegionTypeUpdateStreamResponse) Reset()
- func (m *GetRegionTypeUpdateStreamResponse) String() string
- func (m *GetRegionTypeUpdateStreamResponse) XXX_DiscardUnknown()
- func (m *GetRegionTypeUpdateStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRegionTypeUpdateStreamResponse) XXX_Merge(src proto.Message)
- func (m *GetRegionTypeUpdateStreamResponse) XXX_Size() int
- func (m *GetRegionTypeUpdateStreamResponse) XXX_Unmarshal(b []byte) error
- type GetTypeRequest
- func (*GetTypeRequest) Descriptor() ([]byte, []int)
- func (m *GetTypeRequest) GetTypeId() uint64
- func (*GetTypeRequest) ProtoMessage()
- func (m *GetTypeRequest) Reset()
- func (m *GetTypeRequest) String() string
- func (m *GetTypeRequest) XXX_DiscardUnknown()
- func (m *GetTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetTypeRequest) XXX_Merge(src proto.Message)
- func (m *GetTypeRequest) XXX_Size() int
- func (m *GetTypeRequest) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetDuration() int32
- func (m *Order) GetIsBuyOrder() bool
- func (m *Order) GetIssued() *timestamp.Timestamp
- func (m *Order) GetLocationId() uint64
- func (m *Order) GetMinVolume() uint64
- func (m *Order) GetOrderId() uint64
- func (m *Order) GetPrice() float64
- func (m *Order) GetRange() string
- func (m *Order) GetRegionId() uint64
- func (m *Order) GetSeenAt() *timestamp.Timestamp
- func (m *Order) GetTypeId() uint64
- func (m *Order) GetVolumeRemain() uint64
- func (m *Order) GetVolumeTotal() uint64
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type RegionType
- func (*RegionType) Descriptor() ([]byte, []int)
- func (m *RegionType) GetRegionId() uint64
- func (m *RegionType) GetTypeId() uint64
- func (*RegionType) ProtoMessage()
- func (m *RegionType) Reset()
- func (m *RegionType) String() string
- func (m *RegionType) XXX_DiscardUnknown()
- func (m *RegionType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegionType) XXX_Merge(src proto.Message)
- func (m *RegionType) XXX_Size() int
- func (m *RegionType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterESIMarketsServer ¶
func RegisterESIMarketsServer(s *grpc.Server, srv ESIMarketsServer)
Types ¶
type ESIMarketsClient ¶
type ESIMarketsClient interface { GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) GetType(ctx context.Context, in *GetTypeRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) GetRegionType(ctx context.Context, in *GetRegionTypeRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) GetRegionTypeUpdateStream(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ESIMarkets_GetRegionTypeUpdateStreamClient, error) }
ESIMarketsClient is the client API for ESIMarkets service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewESIMarketsClient ¶
func NewESIMarketsClient(cc *grpc.ClientConn) ESIMarketsClient
type ESIMarketsServer ¶
type ESIMarketsServer interface { GetOrder(context.Context, *GetOrderRequest) (*GetOrdersResponse, error) GetRegion(context.Context, *GetRegionRequest) (*GetOrdersResponse, error) GetType(context.Context, *GetTypeRequest) (*GetOrdersResponse, error) GetRegionType(context.Context, *GetRegionTypeRequest) (*GetOrdersResponse, error) GetRegionTypeUpdateStream(*empty.Empty, ESIMarkets_GetRegionTypeUpdateStreamServer) error }
ESIMarketsServer is the server API for ESIMarkets service.
type ESIMarkets_GetRegionTypeUpdateStreamClient ¶
type ESIMarkets_GetRegionTypeUpdateStreamClient interface { Recv() (*GetRegionTypeUpdateStreamResponse, error) grpc.ClientStream }
type ESIMarkets_GetRegionTypeUpdateStreamServer ¶
type ESIMarkets_GetRegionTypeUpdateStreamServer interface { Send(*GetRegionTypeUpdateStreamResponse) error grpc.ServerStream }
type GetOrderRequest ¶
type GetOrderRequest struct { // Fetch recorded history of an order OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetOrderRequest) Descriptor ¶
func (*GetOrderRequest) Descriptor() ([]byte, []int)
func (*GetOrderRequest) GetOrderId ¶
func (m *GetOrderRequest) GetOrderId() uint64
func (*GetOrderRequest) ProtoMessage ¶
func (*GetOrderRequest) ProtoMessage()
func (*GetOrderRequest) Reset ¶
func (m *GetOrderRequest) Reset()
func (*GetOrderRequest) String ¶
func (m *GetOrderRequest) String() string
func (*GetOrderRequest) XXX_DiscardUnknown ¶
func (m *GetOrderRequest) XXX_DiscardUnknown()
func (*GetOrderRequest) XXX_Marshal ¶
func (m *GetOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOrderRequest) XXX_Merge ¶
func (dst *GetOrderRequest) XXX_Merge(src proto.Message)
func (*GetOrderRequest) XXX_Size ¶
func (m *GetOrderRequest) XXX_Size() int
func (*GetOrderRequest) XXX_Unmarshal ¶
func (m *GetOrderRequest) XXX_Unmarshal(b []byte) error
type GetOrdersResponse ¶
type GetOrdersResponse struct { // Matching orders Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetOrdersResponse) Descriptor ¶
func (*GetOrdersResponse) Descriptor() ([]byte, []int)
func (*GetOrdersResponse) GetOrders ¶
func (m *GetOrdersResponse) GetOrders() []*Order
func (*GetOrdersResponse) ProtoMessage ¶
func (*GetOrdersResponse) ProtoMessage()
func (*GetOrdersResponse) Reset ¶
func (m *GetOrdersResponse) Reset()
func (*GetOrdersResponse) String ¶
func (m *GetOrdersResponse) String() string
func (*GetOrdersResponse) XXX_DiscardUnknown ¶
func (m *GetOrdersResponse) XXX_DiscardUnknown()
func (*GetOrdersResponse) XXX_Marshal ¶
func (m *GetOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOrdersResponse) XXX_Merge ¶
func (dst *GetOrdersResponse) XXX_Merge(src proto.Message)
func (*GetOrdersResponse) XXX_Size ¶
func (m *GetOrdersResponse) XXX_Size() int
func (*GetOrdersResponse) XXX_Unmarshal ¶
func (m *GetOrdersResponse) XXX_Unmarshal(b []byte) error
type GetRegionRequest ¶
type GetRegionRequest struct { // Defines which region the data is fetched for RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRegionRequest) Descriptor ¶
func (*GetRegionRequest) Descriptor() ([]byte, []int)
func (*GetRegionRequest) GetRegionId ¶
func (m *GetRegionRequest) GetRegionId() uint64
func (*GetRegionRequest) ProtoMessage ¶
func (*GetRegionRequest) ProtoMessage()
func (*GetRegionRequest) Reset ¶
func (m *GetRegionRequest) Reset()
func (*GetRegionRequest) String ¶
func (m *GetRegionRequest) String() string
func (*GetRegionRequest) XXX_DiscardUnknown ¶
func (m *GetRegionRequest) XXX_DiscardUnknown()
func (*GetRegionRequest) XXX_Marshal ¶
func (m *GetRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRegionRequest) XXX_Merge ¶
func (dst *GetRegionRequest) XXX_Merge(src proto.Message)
func (*GetRegionRequest) XXX_Size ¶
func (m *GetRegionRequest) XXX_Size() int
func (*GetRegionRequest) XXX_Unmarshal ¶
func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error
type GetRegionTypeRequest ¶
type GetRegionTypeRequest struct { // Defines which region the data is fetched for RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // Defines which type the data is fetched for TypeId uint64 `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRegionTypeRequest) Descriptor ¶
func (*GetRegionTypeRequest) Descriptor() ([]byte, []int)
func (*GetRegionTypeRequest) GetRegionId ¶
func (m *GetRegionTypeRequest) GetRegionId() uint64
func (*GetRegionTypeRequest) GetTypeId ¶
func (m *GetRegionTypeRequest) GetTypeId() uint64
func (*GetRegionTypeRequest) ProtoMessage ¶
func (*GetRegionTypeRequest) ProtoMessage()
func (*GetRegionTypeRequest) Reset ¶
func (m *GetRegionTypeRequest) Reset()
func (*GetRegionTypeRequest) String ¶
func (m *GetRegionTypeRequest) String() string
func (*GetRegionTypeRequest) XXX_DiscardUnknown ¶
func (m *GetRegionTypeRequest) XXX_DiscardUnknown()
func (*GetRegionTypeRequest) XXX_Marshal ¶
func (m *GetRegionTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRegionTypeRequest) XXX_Merge ¶
func (dst *GetRegionTypeRequest) XXX_Merge(src proto.Message)
func (*GetRegionTypeRequest) XXX_Size ¶
func (m *GetRegionTypeRequest) XXX_Size() int
func (*GetRegionTypeRequest) XXX_Unmarshal ¶
func (m *GetRegionTypeRequest) XXX_Unmarshal(b []byte) error
type GetRegionTypeUpdateStreamResponse ¶
type GetRegionTypeUpdateStreamResponse struct { // Region/tye pairs affected by update RegionTypes []*RegionType `protobuf:"bytes,1,rep,name=region_types,json=regionTypes,proto3" json:"region_types,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRegionTypeUpdateStreamResponse) Descriptor ¶
func (*GetRegionTypeUpdateStreamResponse) Descriptor() ([]byte, []int)
func (*GetRegionTypeUpdateStreamResponse) GetRegionTypes ¶
func (m *GetRegionTypeUpdateStreamResponse) GetRegionTypes() []*RegionType
func (*GetRegionTypeUpdateStreamResponse) ProtoMessage ¶
func (*GetRegionTypeUpdateStreamResponse) ProtoMessage()
func (*GetRegionTypeUpdateStreamResponse) Reset ¶
func (m *GetRegionTypeUpdateStreamResponse) Reset()
func (*GetRegionTypeUpdateStreamResponse) String ¶
func (m *GetRegionTypeUpdateStreamResponse) String() string
func (*GetRegionTypeUpdateStreamResponse) XXX_DiscardUnknown ¶
func (m *GetRegionTypeUpdateStreamResponse) XXX_DiscardUnknown()
func (*GetRegionTypeUpdateStreamResponse) XXX_Marshal ¶
func (m *GetRegionTypeUpdateStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRegionTypeUpdateStreamResponse) XXX_Merge ¶
func (dst *GetRegionTypeUpdateStreamResponse) XXX_Merge(src proto.Message)
func (*GetRegionTypeUpdateStreamResponse) XXX_Size ¶
func (m *GetRegionTypeUpdateStreamResponse) XXX_Size() int
func (*GetRegionTypeUpdateStreamResponse) XXX_Unmarshal ¶
func (m *GetRegionTypeUpdateStreamResponse) XXX_Unmarshal(b []byte) error
type GetTypeRequest ¶
type GetTypeRequest struct { // Defines which type the data is fetched for TypeId uint64 `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTypeRequest) Descriptor ¶
func (*GetTypeRequest) Descriptor() ([]byte, []int)
func (*GetTypeRequest) GetTypeId ¶
func (m *GetTypeRequest) GetTypeId() uint64
func (*GetTypeRequest) ProtoMessage ¶
func (*GetTypeRequest) ProtoMessage()
func (*GetTypeRequest) Reset ¶
func (m *GetTypeRequest) Reset()
func (*GetTypeRequest) String ¶
func (m *GetTypeRequest) String() string
func (*GetTypeRequest) XXX_DiscardUnknown ¶
func (m *GetTypeRequest) XXX_DiscardUnknown()
func (*GetTypeRequest) XXX_Marshal ¶
func (m *GetTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTypeRequest) XXX_Merge ¶
func (dst *GetTypeRequest) XXX_Merge(src proto.Message)
func (*GetTypeRequest) XXX_Size ¶
func (m *GetTypeRequest) XXX_Size() int
func (*GetTypeRequest) XXX_Unmarshal ¶
func (m *GetTypeRequest) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct { // The order's ID OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // The order's type's ID TypeId uint64 `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // The order's region's ID RegionId uint64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // ID of the order's location/station LocationId uint64 `protobuf:"varint,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Initital number of items of the order VolumeTotal uint64 `protobuf:"varint,5,opt,name=volume_total,json=volumeTotal,proto3" json:"volume_total,omitempty"` // Number of items remaining VolumeRemain uint64 `protobuf:"varint,6,opt,name=volume_remain,json=volumeRemain,proto3" json:"volume_remain,omitempty"` // Minimum volume to be traded for this order MinVolume uint64 `protobuf:"varint,7,opt,name=min_volume,json=minVolume,proto3" json:"min_volume,omitempty"` // The price the type is bought/sold for Price float64 `protobuf:"fixed64,8,opt,name=price,proto3" json:"price,omitempty"` // True: Bid/buy order | False: ask/sell order IsBuyOrder bool `protobuf:"varint,9,opt,name=is_buy_order,json=isBuyOrder,proto3" json:"is_buy_order,omitempty"` // Defines how long the order exists after creation Duration int32 `protobuf:"varint,10,opt,name=duration,proto3" json:"duration,omitempty"` // Order's range Range string `protobuf:"bytes,11,opt,name=range,proto3" json:"range,omitempty"` // Date the order was issued Issued *timestamp.Timestamp `protobuf:"bytes,12,opt,name=issued,proto3" json:"issued,omitempty"` // When the order was last seen in this state: when using market-streamer the last-modified date from EMDRToNSQService SeenAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=seen_at,json=seenAt,proto3" json:"seen_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Order) Descriptor ¶
func (*Order) GetDuration ¶
func (*Order) GetIsBuyOrder ¶
func (*Order) GetLocationId ¶
func (*Order) GetMinVolume ¶
func (*Order) GetOrderId ¶
func (*Order) GetRegionId ¶
func (*Order) GetVolumeRemain ¶
func (*Order) GetVolumeTotal ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type RegionType ¶
type RegionType struct { // The update's region's ID RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // The update's type's ID TypeId uint64 `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegionType) Descriptor ¶
func (*RegionType) Descriptor() ([]byte, []int)
func (*RegionType) GetRegionId ¶
func (m *RegionType) GetRegionId() uint64
func (*RegionType) GetTypeId ¶
func (m *RegionType) GetTypeId() uint64
func (*RegionType) ProtoMessage ¶
func (*RegionType) ProtoMessage()
func (*RegionType) Reset ¶
func (m *RegionType) Reset()
func (*RegionType) String ¶
func (m *RegionType) String() string
func (*RegionType) XXX_DiscardUnknown ¶
func (m *RegionType) XXX_DiscardUnknown()
func (*RegionType) XXX_Marshal ¶
func (m *RegionType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegionType) XXX_Merge ¶
func (dst *RegionType) XXX_Merge(src proto.Message)
func (*RegionType) XXX_Size ¶
func (m *RegionType) XXX_Size() int
func (*RegionType) XXX_Unmarshal ¶
func (m *RegionType) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.