config

package
v0.0.0-...-4cd3ddc Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "config.toml"

Variables

This section is empty.

Functions

func Exists

func Exists(dir string) bool

Types

type Config

type Config struct {
	Address string `toml:"address"`
}

func Default

func Default() *Config

func Load

func Load(dir string) (*Config, error)

func (*Config) Save

func (c *Config) Save(dir string) error

Jump to

Keyboard shortcuts

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