config

package
v0.0.0-...-1513131 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig()

Types

type Config

type Config struct {
	PolygonAPIKey       string
	PolygonAPIURL       string
	Ticker              string
	Interval            int
	Timespan            string
	StartDate           string
	EndDate             string
	PromEnable          bool
	SaveSummaryDetails  bool
	DumpInFileThreshold int
	MergerBatchSize     int
	AlgoStorageStrategy model.AlgoStorageStrategy
	Logger              Logger
}
var AppConfig *Config

type Logger

type Logger struct {
	Level      string
	SaveInFile bool
}

Jump to

Keyboard shortcuts

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