command

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	BodyJS      *string
	Method      string
	Headersjs   *json.Json
	HeadersJS   *map[string]string
	Https       bool
	Ss          bool
	Sh          bool
	Sb          bool
	Form        *bool
	Multipart   bool
	Body        bool
	Headers     bool
	Redirect    bool
	Cookies     *map[string]string
	BasicAuth   auth.BaseAuth
	QueryParams *map[string]string
}

func NewCommand

func NewCommand() Command

func (*Command) PersistentPreRun

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

func (*Command) Run

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

Jump to

Keyboard shortcuts

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