Help us shape the future of Go! Take the 2026 Go Developer Survey

http

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MPL-2.0 Imports: 9 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