Documentation ¶
Index ¶
- func GroupByID(ctx context.Context, id *int) (*model.MarketGroup, error)
- func OrderHistory(ctx context.Context, regionID *int, typeID *int) ([]*model.OrderHistory, error)
- func OrdersForRegion(ctx context.Context, regionID *int, orderType *model.Ordertype, typeID *int, ...) (*model.OrderWrapper, error)
- func OrdersForRegionByName(ctx context.Context, region *string, orderType *model.Ordertype, ...) (*model.OrderWrapper, error)
- func SetupMarketRest()
- type RestHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupByID ¶ added in v0.0.2
GroupByID takes a context for tracing and an ID to query the Market Group by.
func OrderHistory ¶
OrderHistory takes in a context for tracing, a region id to query the history for, and a type id for the item history to get.
func OrdersForRegion ¶
func OrdersForRegion(ctx context.Context, regionID *int, orderType *model.Ordertype, typeID *int, page *int) (*model.OrderWrapper, error)
OrdersForRegion takes a context for tracing, a region id to query by, a order type of ALL, BUY, or SELL, an optional type id to query by and the page of results for which to query.
func OrdersForRegionByName ¶
func OrdersForRegionByName(ctx context.Context, region *string, orderType *model.Ordertype, typeName *string, page *int) (*model.OrderWrapper, error)
OrdersForRegionByName takes a context for tracing, a region name to query by, a order type of ALL, BUY, or SELL, an optional type name to query by and the page of results for which to query.
func SetupMarketRest ¶
func SetupMarketRest()
SetupMarketRest configures dependencies for the Market rest package
Types ¶
Click to show internal directories.
Click to hide internal directories.