config

package
v0.0.0-...-91ead5b Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFilePath

func GetConfigFilePath() string

Types

type Config

type Config struct {
	LogFilePath string
}

func GetConfig

func GetConfig() *Config

func (*Config) GetState

func (config *Config) GetState(stateName string) *State

type State

type State struct {
	Name string

	EncryptedPath string
	DecryptedPath string
	// contains filtered or unexported fields
}

func (*State) GetArchiveBackupPath

func (state *State) GetArchiveBackupPath() string

func (*State) GetArchivePath

func (state *State) GetArchivePath() string

func (*State) GetIdentity

func (state *State) GetIdentity() *age.X25519Identity

func (*State) GetRecipient

func (state *State) GetRecipient() *age.X25519Recipient

func (*State) GetSymlinkTargetPath

func (state *State) GetSymlinkTargetPath() string

func (*State) GetTemporaryDirectoryPath

func (state *State) GetTemporaryDirectoryPath() string

func (*State) IsClose

func (state *State) IsClose() bool

func (*State) IsOpen

func (state *State) IsOpen() bool

Jump to

Keyboard shortcuts

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