Documentation ¶
Index ¶
- func ReadSettings(Filepath string, data interface{})
- type Destination
- type RepositoryConf
- func (r *RepositoryConf) GetBranch() string
- func (r *RepositoryConf) GetDestination() *Destination
- func (r *RepositoryConf) GetDir() string
- func (r *RepositoryConf) GetLogin() string
- func (r *RepositoryConf) GetPass() string
- func (r *RepositoryConf) GetRepPath() string
- func (r *RepositoryConf) GetTimerDuration() time.Duration
- func (r *RepositoryConf) IsExtension() bool
- func (this *RepositoryConf) SaveVersion()
- type Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadSettings ¶
func ReadSettings(Filepath string, data interface{})
Types ¶
type Destination ¶
type RepositoryConf ¶
type RepositoryConf struct { TimerMinute int `yaml:"TimerMinute"` From *struct { Rep string `yaml:"Rep"` Login string `yaml:"Login"` Pass string `yaml:"Pass"` Extension bool `yaml:"Extension"` } `yaml:"From"` To *Destination `yaml:"To"` // contains filtered or unexported fields }
func (*RepositoryConf) GetBranch ¶
func (r *RepositoryConf) GetBranch() string
func (*RepositoryConf) GetDestination ¶
func (r *RepositoryConf) GetDestination() *Destination
func (*RepositoryConf) GetDir ¶
func (r *RepositoryConf) GetDir() string
func (*RepositoryConf) GetLogin ¶
func (r *RepositoryConf) GetLogin() string
func (*RepositoryConf) GetPass ¶
func (r *RepositoryConf) GetPass() string
func (*RepositoryConf) GetRepPath ¶
func (r *RepositoryConf) GetRepPath() string
func (*RepositoryConf) GetTimerDuration ¶
func (r *RepositoryConf) GetTimerDuration() time.Duration
func (*RepositoryConf) IsExtension ¶
func (r *RepositoryConf) IsExtension() bool
Click to show internal directories.
Click to hide internal directories.