config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConnectURL  string
	Auth        string
	Headers     []string
	Origin      string
	Execute     []string
	Wait        time.Duration
	SubProtocol []string
	Proxy       string

	ShowPingPong       bool
	IsSlash            bool
	NoCertificateCheck bool
	Version            bool
	Verbose            bool
	NoColor            bool
	Response           bool

	Help          bool
	IsInteractive bool
	Stdin         bool // read from stdin, cannot send messages to the server other than what is in the stdin

	TLS TLS
}

func Get

func Get() Config

type TLS

type TLS struct {
	CA         string
	Cert       string
	Key        string
	Passphrase string
}

Jump to

Keyboard shortcuts

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