constants

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const AdminOffset = 1

AdminOffset represents the admin offset

View Source
const ChoiceNo = "no"

ChoiceNo represents the no choice

View Source
const ChoiceTrust = "trust"

ChoiceTrust represents the trust choice

View Source
const ChoiceYes = "yes"

ChoiceYes represents the yes choice

View Source
const CloudflareIPsV4URL = "https://www.cloudflare.com/ips-v4"

CloudflareIPsV4URL published IP list URLs

View Source
const CloudflareIPsV6URL = "https://www.cloudflare.com/ips-v6"

CloudflareIPsV6URL published IP list URLs

View Source
const FilePermission0600 = 0600

FilePermission0600 represents file permission 0600

View Source
const FilePermission0644 = 0644

FilePermission0644 represents file permission 0644

View Source
const FilePermission0755 = 0755

FilePermission0755 represents file permission 0755

View Source
const HistorySize = 100

HistorySize represents the shell history size

View Source
const MaxAdmins = 3

MaxAdmins represents the maximum number of administrators

View Source
const MaxConnections = 10

MaxConnections represents the maximum connections threshold

View Source
const Percentage100 = 100

Percentage100 represents 100 percent

View Source
const Percentage60 = 60

Percentage60 represents 60 percent

View Source
const Percentage70 = 70

Percentage70 represents 70 percent

View Source
const Percentage80 = 80

Percentage80 represents 80 percent

View Source
const Percentage90 = 90

Percentage90 represents 90 percent

View Source
const PtraceScope = 2

PtraceScope represents the ptrace scope value

View Source
const SplitParts = 2

SplitParts represents the number of parts for splitting operations

View Source
const SynoAdminHome = "/var/services/homes/admin"

SynoAdminHome is the home path for the default admin user

View Source
const SynoCertDir = "/usr/syno/etc/certificate/system/default"

SynoCertDir is the directory containing Synology system certificates

View Source
const SynoCertificatePath = "/usr/syno/etc/certificate/system/default/cert.pem"

SynoCertificatePath is the default path to the Synology system certificate

View Source
const SynoPwPolicyConf = "/usr/syno/etc/pwpolicy.conf"

SynoPwPolicyConf is the Synology password policy configuration file

View Source
const SynoSMBConf = "/usr/syno/etc/smb.conf"

SynoSMBConf is the Samba configuration file

View Source
const SynoSecurityScanConf = "/usr/syno/etc/security_scan/security_scan.conf"

SynoSecurityScanConf is the security scan configuration file

View Source
const SynoServiceCtlPath = "/usr/syno/sbin/synoservicectl"

SynoServiceCtlPath is the path to Synology's service control binary

View Source
const SynoVolume1Path = "/volume1"

SynoVolume1Path points to the first volume used for find operations

View Source
const TimeoutSeconds = 30

TimeoutSeconds represents timeout in seconds

View Source
const TimeoutSecs = 30

TimeoutSecs represents timeout in seconds (alias)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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