config

package
v0.0.0-...-e177967 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path() string

Types

type Config

type Config struct {
	Address     string `toml:"address"`
	ConnString  string `toml:"conn_string"`
	LibraryPath string `toml:"library_path"`
}

func Default

func Default() Config

func ReadConfig

func ReadConfig(path string) (Config, error)

func (Config) Save

func (c Config) Save(path string) error

Jump to

Keyboard shortcuts

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