config

package
v0.0.0-...-3508913 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 2 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 {
	RefreshMinutes uint               `yaml:"refreshMinutes"`
	Repos          []ResticRepository `yaml:"repos"`
}

func ParseConfig

func ParseConfig(filename string) (*Config, error)

type ResticRepository

type ResticRepository struct {
	Name           string `yaml:"name"`
	AccessKey      string `yaml:"accessKey"`
	SecretKey      string `yaml:"secretKey"`
	Endpoint       string `yaml:"endpoint"`
	ResticPassword string `yaml:"resticPassword"`
	S3SizeLimit    uint   `yaml:"s3SizeLimit"`
}

Jump to

Keyboard shortcuts

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