config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBasePath

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
}

func DefaultConfig

func DefaultConfig() Config

func (*Config) AdjustRelativePaths

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