config

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New() *Config

func (*Config) GetIsDebug

func (c *Config) GetIsDebug() bool

func (*Config) GetKnowledgeBaseUUID

func (c *Config) GetKnowledgeBaseUUID() string

func (*Config) GetXMLIndent

func (c *Config) GetXMLIndent() string

func (*Config) GetXMLPrefix

func (c *Config) GetXMLPrefix() string

func (*Config) Init

func (c *Config) Init(lg *zap.Logger, vp *viper.Viper, config string) error

func (*Config) SetIsDebug

func (c *Config) SetIsDebug(flag bool) error

func (*Config) SetKnowledgeBaseUUID

func (c *Config) SetKnowledgeBaseUUID(uuid string) error

func (*Config) SetXMLIndent

func (c *Config) SetXMLIndent(uuid string) error

func (*Config) SetXMLPrefix

func (c *Config) SetXMLPrefix(uuid string) error

func (*Config) WriteConfig

func (c *Config) WriteConfig() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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