Discover Packages
github.com/Vanuan/infrakit
pkg
types
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jan 17, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Any is the raw configuration for the plugin
AnyBytes returns an Any from the encoded message bytes
AnyString returns an Any from a string that represents the marshaled/encoded data
func AnyValue(v interface{}) (*Any , error )
AnyValue returns an Any from a value by marshaling / encoding the input
func AnyValueMust(v interface{}) *Any
AnyValueMust returns an Any from a value by marshaling / encoding the input. It panics if there's error.
Bytes returns the encoded bytes
func (c *Any ) Decode(typed interface{}) error
Decode decodes the any into the input typed struct
MarshalJSON implements the json Marshaler interface
String returns the string representation.
UnmarshalJSON implements the json Unmarshaler interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.