config

package
v0.0.0-...-e5e8b79 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraConfig

type CassandraConfig struct {
	Cluster  []string `yaml:"cluster"`
	Keyspace string   `yaml:"keyspace"`
}

CassandraConfig is the collection of configuration values needed to connect to a cassandra cluster.

type Config

type Config struct {
	CassandraConfig `yaml:"cassandra"`
	GDAXConfig      *GDAXConfig `yaml:"gdax"`
}

Config holds the entire application configuration.

type GDAXConfig

type GDAXConfig struct {
	APIKey        string `yaml:"api_key"`
	APISecret     string `yaml:"api_secret"`
	APIPassphrase string `yaml:"api_passphrase"`
}

GDAXConfig is the collection of configuration values to access the GDAX service.

Jump to

Keyboard shortcuts

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