connector

package
v0.0.0-...-46fe095 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxIdleConnections = 100
	RequestTimeout     = 1000 * time.Millisecond

	ErrOauthFailed = errors.New("oauth signature verification failed.Wrong Credentials where used")
)

Functions

func HMACSHA1

func HMACSHA1(key, input string) string

func NewBrightCloudConnector2

func NewBrightCloudConnector2(key, secret string) (*brightCloudConnector, error)

Types

type Connector

type Connector interface {
	Start() error
	Stop() error
	Resolve(u string) (*models.URL, error)
}

func NewBrightCloudConnector

func NewBrightCloudConnector(key, secret string) (Connector, error)

type Request

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

func NewRequest

func NewRequest(intialURL string, c *brightCloudConnector) (*Request, error)

Jump to

Keyboard shortcuts

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