configCollectors

package
v1.1.1-rc-142 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: GPL-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFileConnectors

func ConfigFileConnectors(exchange string, fileteype string) string

ConfigFileConnectors returns a path to folder @exchange in config folder if @filteype is empty. If @filteype is a filetype it returns the path to file @exchange as a @filteype file.

Types

type ConfigCollectors

type ConfigCollectors struct {
	Coins []dia.ExchangePair
}

func NewConfigCollectors

func NewConfigCollectors(exchange string, filetype string) *ConfigCollectors

func NewConfigCollectorsIfExists

func NewConfigCollectorsIfExists(exchange string, filetype string) *ConfigCollectors

func (*ConfigCollectors) AllPairs

func (c *ConfigCollectors) AllPairs() []dia.ExchangePair

func (*ConfigCollectors) Exchanges

func (c *ConfigCollectors) Exchanges() []string

func (*ConfigCollectors) IsSymbolInConfig

func (c *ConfigCollectors) IsSymbolInConfig(symbol string) bool

Jump to

Keyboard shortcuts

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