Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintExample ¶
Types ¶
type Config ¶
type Config struct {
Interface string `json:"interface"`
Port int `json:"port"`
Directory string `json:"directory"`
UploadFolder string `json:"upload_folder"`
SSL bool `json:"ssl"`
SelfSigned bool `json:"self_signed"`
PrivateKey string `json:"private_key"`
Certificate string `json:"certificate"`
P12 string `json:"p12"`
P12NoPass bool `json:"p12_no_pass"`
LetsEncrypt bool `json:"letsencrypt"`
LetsEncryptDomain string `json:"letsencrypt_domain"`
LetsEncryptEmail string `json:"letsencrypt_email"`
LetsEncryptHTTPPort string `json:"letsencrypt_http_port"`
LetsEncryptTLSPort string `json:"letsencrypt_tls_port"`
AuthUsername string `json:"auth_username"`
AuthPassword string `json:"auth_password"`
CertificateAuth string `json:"certificate_auth"`
Webdav bool `json:"webdav"`
WebdavPort int `json:"webdav_port"`
UploadOnly bool `json:"upload_only"`
ReadOnly bool `json:"read_only"`
NoClipboard bool `json:"no_clipboard"`
NoDelete bool `json:"no_delete"`
Verbose bool `json:"verbose"`
Silent bool `json:"silent"`
RunningUser string `json:"running_user"`
CLI bool `json:"cli"`
Embedded bool `json:"embedded"`
Output string `json:"output"`
WebhookEnabled bool `json:"webhook_enabled"`
WebhookURL string `json:"webhook_url"`
WebhookProvider string `json:"webhook_provider"`
WebhookEvents []string `json:"webhook_events"`
SFTP bool `json:"sftp"`
SFTPPort int `json:"sftp_port"`
SFTPKeyFile string `json:"sftp_keyfile"`
SFTPHostKeyFile string `json:"sftp_host_keyfile"`
Whitelist string `json:"whitelist"`
TrustedProxies string `json:"trusted_proxies"`
}
Click to show internal directories.
Click to hide internal directories.