cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCMD

func DeleteCMD() *cobra.Command

func GetCMD

func GetCMD() *cobra.Command

func HeadCMD

func HeadCMD() *cobra.Command

func PatchCMD

func PatchCMD() *cobra.Command

func PostCMD

func PostCMD() *cobra.Command

func PutCMD

func PutCMD() *cobra.Command

Types

type Auth

type Auth struct {
	TokenAuth         string
	BasicAuthUsername string
	BasicAuthPassword string
	Type              string
}

type Method

type Method struct {
	AuthType        *Auth
	JustShowBody    bool
	JustShowHeaders bool
	SaveFile        string
	ContentType     string
	OpenEditor      bool
	Body            string
	IsBodyStdin     bool
}

type Options

type Options struct {
	Method *Method
	URL    string
}

Jump to

Keyboard shortcuts

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