config

package
v0.0.0-...-87a6b9e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FtpConf

type FtpConf struct {
	Url  string
	Port int
	Usr  string
	Pw   string
}

type GeneralConf

type GeneralConf struct {
	Feedfile  string
	AudioDir  string
	VisualDir string
	DataDir   string
	StoreName string
}

type PropagateConf

type PropagateConf struct {
	QtyPerPage int
	Ftp        FtpConf
	Tweet      TweetConf
	Apikey     string
}

type Settings

type Settings struct {
	General   GeneralConf
	Propagate PropagateConf
}

func GetConfig

func GetConfig() Settings

func LoadConfig

func LoadConfig(path string) Settings

type TweetConf

type TweetConf struct {
	ConsumerKey       string
	ConsumerSecret    string
	AccessTokenKey    string
	AccessTokenSecret string
}

Jump to

Keyboard shortcuts

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