curl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requestor

type Requestor struct {
	// contains filtered or unexported fields
}

Requestor will make calls to the CAPI

func NewRequestor

func NewRequestor(cli plugin.CliConnection) *Requestor

NewRequestor will set up a requestor object based on the CliConnection

func (*Requestor) Get

func (r *Requestor) Get(uri string) (map[string]interface{}, error)

Get does an API Get with authorization

Jump to

Keyboard shortcuts

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