config

package
v0.0.0-...-768ca8c Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(config *Config) error

Types

type Config

type Config struct {
	Jira    JiraConfig    `toml:"jira"`
	Sentry  SentryConfig  `toml:"sentry"`
	Weblate WeblateConfig `toml:"weblate"`
}

func LoadConfig

func LoadConfig() (*Config, error)

type JiraConfig

type JiraConfig struct {
	URL      string `toml:"url"`
	Username string `toml:"username"`
	Token    string `toml:"token"`
}

type SentryConfig

type SentryConfig struct {
	Token string `toml:"token"`
}

type WeblateConfig

type WeblateConfig struct {
	Token string `toml:"token"`
	URL   string `toml:"url"`
}

Jump to

Keyboard shortcuts

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