http

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPCmd

func NewHTTPCmd(flags *flags.GlobalFlags) *cobra.Command

NewHTTPCmd returns a new command

func NewRequestCmd

func NewRequestCmd() *cobra.Command

NewRequestCmd creates a new ssh command

Types

type RequestCmd

type RequestCmd struct {
	Method  string
	Data    string
	Headers []string

	FailOnErrorCode bool
}

func (*RequestCmd) Run

func (cmd *RequestCmd) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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