requests

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MPL-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuroraRequestor

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

AuroraRequestor performs actual requests to API

func NewAuroraRequestor

func NewAuroraRequestor(endpoint string, userID string, key string) (*AuroraRequestor, error)

NewAuroraRequestor instantiates a new requestor

func (*AuroraRequestor) Request

func (requestor *AuroraRequestor) Request(relativeURL string, method string, body []byte) ([]byte, error)

Request builds and executues a request to the API

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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