config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: GPL-3.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBasePath added in v0.4.5

func FindBasePath(path string) string

Types

type Config

type Config struct {
	Debug                     bool
	LetterDistributionPath    string
	StrategyParamsPath        string
	LexiconPath               string
	DefaultLexicon            string
	DefaultLetterDistribution string
	NatsURL                   string

	WolgesAwsmURL string

	CPUProfile string
	MemProfile string
}

func DefaultConfig added in v0.4.5

func DefaultConfig() Config

func (*Config) AdjustRelativePaths added in v0.4.5

func (c *Config) AdjustRelativePaths(basepath string)

func (*Config) Load

func (c *Config) Load(args []string) error

Jump to

Keyboard shortcuts

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