options

package
v0.0.0-...-dfc6be9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 3 Imported by: 0

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)

Создание словаря из переданных программе аргументов вида: {"input":{"Domain":...}, "services":{"DnsPort":...},"debug":{"debug":...}}

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
	Eviction        int
	SmtpPort        int
	SmtpsPort       int
	SmtpAutoTLSPort int
	Auth            bool
	Token           string
	OriginURL       string
	RootTLD         bool
	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