requests

package
Version: 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: 0

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL