sechttp

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: EPL-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 HTTPSecError

type HTTPSecError struct {
	Op   string
	Err  error
	Desc string
}

HTTPSecError : secclient package errors

func DispatchHTTPRequest

func DispatchHTTPRequest(httpClient utils.HTTPClient, originalRequest *http.Request, connection *connections.Connection) (*http.Response, *HTTPSecError)

DispatchHTTPRequest : Perform an HTTP request against PFE with token based authentication Returns: HTTPResponse, HTTPSecError

func (*HTTPSecError) Error

func (se *HTTPSecError) Error() string

HTTPSecError : Error formatted in JSON containing an errorOp and a description from either a fault condition in the CLI, or an error payload from a REST request

Jump to

Keyboard shortcuts

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