Http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpCommand

func HttpCommand() *cobra.Command

Func - HttpCommand

func HttpCommandLink(cmd *cobra.Command, args []string)

Func - HttpCommandLink: obtain Flags and call HttpCommandMain()

func HttpCommandMain

func HttpCommandMain(recording bool, displayRow int, HttpVarInput HttpVar, HttpMethod string, count int, timeout int, interval int) error

Func - HttpCommandMain

Types

type HttpVar

type HttpVar struct {
	Scheme   string
	Hostname string
	Port     int
	Path     string
}

func ParseURL

func ParseURL(inputURL string) (HttpVar, error)

ParseURL extracts scheme, hostname, port, and path from a URL

Jump to

Keyboard shortcuts

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