Documentation
¶
Index ¶
Constants ¶
const AdminOffset = 1
AdminOffset represents the admin offset
const ChoiceNo = "no"
ChoiceNo represents the no choice
const ChoiceTrust = "trust"
ChoiceTrust represents the trust choice
const ChoiceYes = "yes"
ChoiceYes represents the yes choice
const CloudflareIPsV4URL = "https://www.cloudflare.com/ips-v4"
CloudflareIPsV4URL published IP list URLs
const CloudflareIPsV6URL = "https://www.cloudflare.com/ips-v6"
CloudflareIPsV6URL published IP list URLs
const FilePermission0600 = 0600
FilePermission0600 represents file permission 0600
const FilePermission0644 = 0644
FilePermission0644 represents file permission 0644
const FilePermission0755 = 0755
FilePermission0755 represents file permission 0755
const HistorySize = 100
HistorySize represents the shell history size
const MaxAdmins = 3
MaxAdmins represents the maximum number of administrators
const MaxConnections = 10
MaxConnections represents the maximum connections threshold
const Percentage100 = 100
Percentage100 represents 100 percent
const Percentage60 = 60
Percentage60 represents 60 percent
const Percentage70 = 70
Percentage70 represents 70 percent
const Percentage80 = 80
Percentage80 represents 80 percent
const Percentage90 = 90
Percentage90 represents 90 percent
const PtraceScope = 2
PtraceScope represents the ptrace scope value
const SplitParts = 2
SplitParts represents the number of parts for splitting operations
const SynoAdminHome = "/var/services/homes/admin"
SynoAdminHome is the home path for the default admin user
const SynoCertDir = "/usr/syno/etc/certificate/system/default"
SynoCertDir is the directory containing Synology system certificates
const SynoCertificatePath = "/usr/syno/etc/certificate/system/default/cert.pem"
SynoCertificatePath is the default path to the Synology system certificate
const SynoPwPolicyConf = "/usr/syno/etc/pwpolicy.conf"
SynoPwPolicyConf is the Synology password policy configuration file
const SynoSMBConf = "/usr/syno/etc/smb.conf"
SynoSMBConf is the Samba configuration file
const SynoSecurityScanConf = "/usr/syno/etc/security_scan/security_scan.conf"
SynoSecurityScanConf is the security scan configuration file
const SynoServiceCtlPath = "/usr/syno/sbin/synoservicectl"
SynoServiceCtlPath is the path to Synology's service control binary
const SynoVolume1Path = "/volume1"
SynoVolume1Path points to the first volume used for find operations
const TimeoutSeconds = 30
TimeoutSeconds represents timeout in seconds
const TimeoutSecs = 30
TimeoutSecs represents timeout in seconds (alias)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.