options

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGroup

func CreateGroup(flagSet *goflags.FlagSet, groupName, description string, flags ...*goflags.FlagData)

func ShowBanner

func ShowBanner()

Types

type CLIClientOptions

type CLIClientOptions struct {
	ServerURL           string
	NumberOfPayloads    int
	Output              string
	JSON                bool
	Verbose             bool
	PollInterval        int
	Persistent          bool
	DNSOnly             bool
	HTTPOnly            bool
	SmtpOnly            bool
	Token               string
	DisableHTTPFallback bool
}

type CLIServerOptions

type CLIServerOptions struct {
	Debug              bool
	Domain             string
	DnsPort            int
	IPAddress          string
	ListenIP           string
	HttpPort           int
	HttpsPort          int
	Hostmaster         string
	LdapWithFullLogger bool
	Eviction           int
	Responder          bool
	Smb                bool
	SmbPort            int
	SmtpPort           int
	SmtpsPort          int
	SmtpAutoTLSPort    int
	FtpPort            int
	LdapPort           int
	Ftp                bool
	Auth               bool
	Token              string
	OriginURL          string
	RootTLD            bool
	FTPDirectory       string
	SkipAcme           bool
}

func (*CLIServerOptions) AsServerOptions

func (cliServerOptions *CLIServerOptions) AsServerOptions() *server.Options

Jump to

Keyboard shortcuts

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