Back to

package request

v0.0.0 (7af0740)
Latest Go to latest
Published: 2 hours ago | License: Apache-2.0 | Module:


type Command

type Command struct {
	Address string
	Client  *http.Client

Command is a wrapper for making http requests to Pilot or Envoy via a CLI command.

func (*Command) Do

func (c *Command) Do(method, path, body string) error

Do executes an http request using the specified arguments

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier