Documentation ¶
Index ¶
Constants ¶
View Source
const ( Spot = Item("spot") Margin = Item("margin") MarginFunding = Item("marginfunding") Index = Item("index") Binary = Item("binary") PerpetualContract = Item("perpetualcontract") PerpetualSwap = Item("perpetualswap") Futures = Item("futures") UpsideProfitContract = Item("upsideprofitcontract") DownsideProfitContract = Item("downsideprofitcontract") )
Const vars for asset package
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Items ¶
type Items []Item
Items stores a list of assets types
func (Items) Contains ¶
Contains returns whether or not the supplied asset exists in the list of Items
func (Items) JoinToString ¶
JoinToString joins an asset type array and converts it to a string with the supplied separator
Click to show internal directories.
Click to hide internal directories.