restapi

package
v1.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingResponseWriter

type LoggingResponseWriter struct {
	http.ResponseWriter
	// contains filtered or unexported fields
}

func NewLoggingResponseWriter

func NewLoggingResponseWriter(w http.ResponseWriter) *LoggingResponseWriter

func (*LoggingResponseWriter) WriteHeader

func (w *LoggingResponseWriter) WriteHeader(code int)

Directories

Path Synopsis
client
Package client enables handler code to easily and consistently validate and dispatch calls to lib/install.
Package client enables handler code to easily and consistently validate and dispatch calls to lib/install.
decode
Package decode converts model objects used by the API into objects used by the management package.
Package decode converts model objects used by the API into objects used by the management package.
encode
Package encode converts objects used by the management package into model objects used by the API.
Package encode converts objects used by the management package into model objects used by the API.
errors
Package errors provides constructors and wrappers for http-aware errors.
Package errors provides constructors and wrappers for http-aware errors.
logging
Package logging encapsulates logging functionality used by API handlers.
Package logging encapsulates logging functionality used by API handlers.
target
Package target encapsulates the logic for translating the raw input about the intended target of an API operation (vSphere endpoint, thumbprint, datacenter, compute resource, VCH ID) into structs handlers can use.
Package target encapsulates the logic for translating the raw input about the intended target of an API operation (vSphere endpoint, thumbprint, datacenter, compute resource, VCH ID) into structs handlers can use.

Jump to

Keyboard shortcuts

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