config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName     = "osssync"
	AppIdentity = "com.thepeppersstudio.osssync"
	AppConfig   = "config"
)

Variables

View Source
var (
	GitTag      string // set at compile time with -ldflags
	GitRevision string // set at compile time with -ldflags
	GitSummary  string // set at compile time with -ldflags
	Bundled     string // set at compile time with -ldflags
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Settings []Setting `required:"true"`
}

type Credential

type Credential struct {
	Endpoint        string `required:"true"`
	AccessKeyID     string `required:"true"`
	AccessKeySecret string `required:"true"`
	Bucket          string `required:"true"`
	Prefix          string
}

type Setting

type Setting struct {
	Local string `required:"true"`
	Credential
	IgnoreHiddenFiles bool
	Delete            bool
}

Jump to

Keyboard shortcuts

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