httphelper

package
v0.0.0-...-0923c39 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Username string
	Password string
	BaseURL  string
)

Username: d42 username Passwd: d42 password BaseURL: Device42 URL to hit for API. eg; https://device42.domain.com/api/1.0/

Functions

func DoRequest

func DoRequest(requestType string, uri string, target string) string

DoRequest Extrapolate the baseURL to allow for testing

func DoRequestImpl

func DoRequestImpl(requestType string, BaseURL string, uri string, target string) string

DoRequestImpl Run a request against device42

Types

This section is empty.

Jump to

Keyboard shortcuts

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