Discover Packages
github.com/enmasseproject/enmasse-rest
Godeps
_workspace
src
k8s.io
client-go
pkg
conversion
queryparams
package
Version:
v0.0.0-...-0997622
Opens a new window with list of versions in this module.
Published: Jan 15, 2017
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package queryparams provides conversion from versioned
runtime objects to URL query values
Convert takes an object and converts it to a url.Values object using JSON tags as
parameter names. Only top-level simple values, arrays, and slices are serialized.
Embedded structs, maps, etc. will not be serialized.
type Marshaler interface {
MarshalQueryParameter() (string , error )
}
Marshaler converts an object to a query parameter string representation
type Unmarshaler interface {
UnmarshalQueryParameter(string ) error
}
Unmarshaler converts a string representation to an object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.