config

package
v0.0.0-...-5c5d71a Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add repository in configuration file

func Del

func Del(n string) error

Del repository in configuration file

func UpdateConfig

func UpdateConfig()

Types

type Rcloud

type Rcloud struct {
	Repositories *[]*repositories.Repository
	Watcher      map[string]*watcher.Watcher
	Timer        map[string]*timer.Timer
}

Rcloud structure is configuration file for Rcloud

var App *Rcloud

App Instance of Rcloud

func (*Rcloud) Load

func (r *Rcloud) Load()

func (*Rcloud) Save

func (r *Rcloud) Save() error

Save write configuration on file

func (*Rcloud) Set

func (r *Rcloud) Set(key string, value interface{})

Jump to

Keyboard shortcuts

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