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

api

package
v0.153.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiCmd

func ApiCmd(ch *cmdutil.Helper, userAgent string, defaultHeaders map[string]string) *cobra.Command

ApiCmd helps users perform API calls using the CLI.

Types

type ApiOpts

type ApiOpts struct {
	Method    string
	Query     []string
	Header    []string
	Field     []string
	Input     string
	ReadStdin bool
}

Jump to

Keyboard shortcuts

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