Documentation ¶
Index ¶
- func GetMarketIDMap() map[string]int64
- func GetMarketServiceURL(urls string, nameSpace string, param vo.SelectOneHealthInstanceParam) (string, error)
- func InitTokenPairMap(ctx sdk.Context, dexKeeper types.DexKeeper)
- func RegisterNewTokenPair(tokenPairID int64, tokenPairName string, marketServiceURL string, ...) (err error)
- type KlineData
- func (kd KlineData) BlockHeight() int64
- func (kd KlineData) DataType() types.StreamDataKind
- func (kd *KlineData) GetMatchResults() []*backend.MatchResult
- func (kd *KlineData) GetNewTokenPairs() []*dex.TokenPair
- func (kd *KlineData) SetData(ctx sdk.Context, orderKeeper types.OrderKeeper, cache *common.Cache)
- func (kd *KlineData) SetMatchResults(matchResults []*backend.MatchResult)
- type MarketConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMarketIDMap ¶
func GetMarketServiceURL ¶
Types ¶
type KlineData ¶
type KlineData struct { Height int64 // contains filtered or unexported fields }
func NewKlineData ¶
func NewKlineData() *KlineData
func (KlineData) BlockHeight ¶
func (KlineData) DataType ¶
func (kd KlineData) DataType() types.StreamDataKind
func (*KlineData) GetMatchResults ¶
func (kd *KlineData) GetMatchResults() []*backend.MatchResult
func (*KlineData) GetNewTokenPairs ¶
func (*KlineData) SetMatchResults ¶
func (kd *KlineData) SetMatchResults(matchResults []*backend.MatchResult)
type MarketConfig ¶
type MarketConfig struct { MarketServiceEnable bool MarketNacosUrls string MarketNacosNamespaceId string MarketNacosClusters []string MarketNacosServiceName string MarketNacosGroupName string }
func NewMarketConfig ¶
func NewMarketConfig(enable bool, urls, nameSpace string, clusters []string, serviceName, groupName string) MarketConfig
Click to show internal directories.
Click to hide internal directories.