options

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	IP                  string   // "0.0.0.0"
	Port                int      // 8000
	Webroot             string   // "."
	SSL                 bool     // false
	SelfSigned          bool     // false
	MyKey               string   // ""
	MyCert              string   // ""
	MyP12               string   // ""
	P12NoPass           bool     // false
	CLI                 bool     // false
	UploadFolder        string   // ""
	LetsEncrypt         bool     // false
	BasicAuth           string   // ""
	Username            string   // "" will be constructed from BasicAuth
	Password            string   // "" will be constructed from BasicAuth
	CertAuth            string   // ""
	WebDav              bool     // false
	WebDavPort          int      // 8001
	SFTP                bool     // false
	SFTPPort            int      // 2022
	SFTPKeyFile         string   // ""
	SFTPHostKeyFile     string   // ""
	UploadOnly          bool     // false
	ReadOnly            bool     // false
	NoClipboard         bool     // false
	NoDelete            bool     // false
	Verbose             bool     // false
	Silent              bool     // false
	DropUser            string   // ""
	LEEmail             string   // ""
	LEDomains           string   // ""
	LEHTTPPort          string   //"80"
	LETLSPort           string   // "443"
	Embedded            bool     // false
	Output              string   // ""
	ConfigFile          string   // ""
	ConfigPath          string   // "" Will be constructed from ConfigFile
	WebhookEnabled      bool     // false
	WebhookURL          string   // ""
	WebhookEvents       string   // "all"
	WebhookProvider     string   // "Discord"
	WebhookEventsParsed []string // []string{}
	Whitelist           string   // ""
	TrustedProxies      string   // ""
	MDNS                bool     // false
	Invisible           bool     // false
	Tunnel              bool     // false
	DNS                 bool     // false
	DNSPort             int      // 8053
	DNSIP               string   // "127.0.0.1"
	SMTP                bool     // false
	SMTPPort            int      // 2525
	SMTPDomain          string   // ""
	SMB                 bool     // false
	SMBPort             int      // 445
	SMBDomain           string   // ""
	SMBShare            string   // ""
	SMBWordlist         string   // ""
}

func Parse

func Parse() (*Options, bool)

Jump to

Keyboard shortcuts

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