datasource

package
v1.4.321-rc-1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	Exchanges []dia.Exchange `json:"exchanges"`
}

func InitSource

func InitSource() (source *Source, err error)

InitSource Read exchange.json file and put exchange metadata in Source struct

func (*Source) GetExchanges

func (s *Source) GetExchanges() (exchanges map[string]dia.Exchange)

GetExchanges Get map of exchane name and exchange metadata

Jump to

Keyboard shortcuts

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