config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: Apache-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 {
	Version string          `toml:"version"`
	System  *system.Config  `toml:"system"`
	Relingo *relingo.Config `toml:"relingo"`
}

func NewConfig

func NewConfig() *Config

type Manager added in v0.0.7

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

func NewCM added in v0.0.7

func NewCM() *Manager

func (*Manager) GetConfigDir added in v0.0.7

func (c *Manager) GetConfigDir() string

func (*Manager) Load added in v0.0.7

func (c *Manager) Load() (*Config, error)

func (*Manager) Save added in v0.0.7

func (c *Manager) Save() error

Jump to

Keyboard shortcuts

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