Documentation
¶
Index ¶
Constants ¶
View Source
const (
BaseAddress = "127.0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶
type Backup struct {
When string `json:"when"`
Method string `json:"method"`
EncryptionKey string `json:"encryptionKey"`
Archive bool `json:"archive"`
FilePerArchive int `json:"filePerArchive"`
}
func GetBackupConfig ¶
func GetBackupConfig() Backup
type Configuration ¶
type Configuration struct {
Address string `json:"address"`
Port int `json:"port"`
MotionConfigFile string `json:"motionConfigFile"`
Username string `json:"username"`
Password string `json:"password"`
AppPath string `json:"appPath"`
Ssl SSL `json:"ssl"`
Backup Backup `json:"backup"`
Notify Notify `json:"notify"`
}
func GetConfig ¶
func GetConfig() Configuration
func (Configuration) IsEmpty ¶
func (c Configuration) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.