config

package
v0.0.0-...-cde087c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Scrolling = iota
	Scaling
)

Variables

View Source
var DEBUG, INFO, WARN, FATAL = logging.GetLogger()

Functions

func LoggerCfg

func LoggerCfg() *logConfig

Returns logConfig

func ShowCfg

func ShowCfg() *showConfig

Returns DrShowConfig

Types

type ConfigFlowPlotScrollMode

type ConfigFlowPlotScrollMode uint8

type DrBenchmarkConfig

type DrBenchmarkConfig struct {
	A_Dev       string
	A_Tag       string
	A_SessionID int
	A_Path      string
}

func BenchmarkCfg

func BenchmarkCfg() *DrBenchmarkConfig

Returns DrBenchmark

type DrPlayConfig

type DrPlayConfig struct {
	Psql datatypes.Login
	//The following will be set by drplayer:
	PrintToStdOut bool
	A_Session     *datatypes.DB_session
	A_Csv         bool
	A_Benchmark   *datatypes.DB_benchmark
}

func PlayCfg

func PlayCfg() *DrPlayConfig

Returns DrPlayConfig

func (DrPlayConfig) GetDBObj

func (s DrPlayConfig) GetDBObj() datatypes.DB_session

Jump to

Keyboard shortcuts

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