config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(configValues Config) error

Types

type Config

type Config struct {
	Username     string `toml:"username"`
	DigitalOcean struct {
		ApiKey          string `toml:"apiKey"`
		SpacesAccessKey string `toml:"spacesAccessKey"`
		SpacesSecretKey string `toml:"spacesSecretKey"`
		SpacesRegion    string `toml:"spacesRegion"`
	} `toml:"DigitalOcean"`
}

func Load

func Load(configFilePath string) (Config, error)

Jump to

Keyboard shortcuts

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