package
Version:
v0.0.0-...-227cf50
Opens a new window with list of versions in this module.
Published: Aug 30, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
File default config file name
Setup prompts for token and backup directory
Write creates a config file if it doesn't exist
else overwrites it.
type Config struct {
BaseURL string `json:"baseURL"`
Token string `json:"token"`
BackupDir string `json:"backupdir"`
SSH bool `json:"ssh"`
}
Config basic struct for backup configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.