config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 6 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 {
	Settings Settings `toml:"settings"`
}

func GetConfig

func GetConfig(profileName, queueUrl string) (*Config, error)

func (*Config) EnsureConfigValues

func (c *Config) EnsureConfigValues() error

func (*Config) ProfileName

func (c *Config) ProfileName() string

func (*Config) QueueUrl

func (c *Config) QueueUrl() string

type Settings

type Settings struct {
	ProfileName string `toml:"profile-name"`
	QueueUrl    string `toml:"queue-url"`
}

Jump to

Keyboard shortcuts

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