config

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

config package handles the reading and writing of the app configuration file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(cfgFile string, c *Config) error

func ReadConfigFile

func ReadConfigFile(cfgFile string) (string, error)

func Save

func Save(c Config, cfgFile string) (string, error)

Types

type Config

type Config struct {
	SsAPIKey      string
	SsAPISecret   string
	ZendeskDomain string
	ZendeskEmail  string
	ZendeskToken  string
	DownloadDir   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳