configuration

package
v0.0.0-...-22dea01 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFileName = "rssfeeder.json"

Variables

View Source
var Path string

Functions

func Save

func Save(cfg *Configuration, cfgPath string) error

func ToJSON

func ToJSON(cfg *Configuration) []byte

Types

type Configuration

type Configuration struct {
	Hostname     string `json:"hostname"`
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
	Login        string `json:"login"`
}

func Load

func Load(cfgPath string) (*Configuration, error)

Jump to

Keyboard shortcuts

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