Versions in this module Expand all Collapse all v0 v0.0.1 Aug 16, 2021 Changes in this version + var CONFIG string + var NAME string + func CheckUserYesNo(input string, defaultyes bool) (b bool, e error) + func DefName(scan *bufio.Scanner) (name string) + type Client struct + Client *s3.S3 + RemoteOptions Remote + type Clients struct + Remotes []Client + type LocalFileSummary struct + Error error + File *os.File + Name string + type OptionMeta struct + Clients []Client + DefClient *Client + DefaultRemoteIndex int + File *os.File + FileData []byte + FilePath string + Options *Options + func NewOptions() (o *OptionMeta) + func (o *OptionMeta) AddRemote() + func (o *OptionMeta) GetNewestLocalDB() (name string, file *os.File, e error) + func (o *OptionMeta) GetNewestRemoteDB() (name string, file *s3.ObjectVersion, client *Client, e error) + func (o *OptionMeta) HandleDefaults() + func (o *OptionMeta) NewS3Client(name string, def bool) (c *Client, e error) + func (o *OptionMeta) PrintRemotes(printkey bool) + func (o *OptionMeta) PulltoLocal(rinfo *RemoteFileSumary, linfo *LocalFileSummary) error + func (o *OptionMeta) PushPull() error + func (o *OptionMeta) PushtoRemote(rinfo *RemoteFileSumary, linfo *LocalFileSummary) error + func (o *OptionMeta) RemoveRemote() + func (o *OptionMeta) S3ClientsAll() (c *Clients) + func (o *OptionMeta) SaveOptions() error + func (o *OptionMeta) SyncOptionsToDisk() error + func (o *OptionMeta) UpdateRemote() + type Options struct + DatabaseName string + DatabaseRegex string + Remotes []Remote + type Remote struct + Bucket string + Endpoint string + Id string + IsDefault bool + Key string + Name string + Region string + type RemoteFileSumary struct + Client *Client + Error error + File *s3.ObjectVersion + Name string