Discover Packages
github.com/rai-project/joefriday
system
version
flat
package
Version:
v0.0.0-...-df36a95
Opens a new window with list of versions in this module.
Published: Apr 10, 2019
License: 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 version gets the kernel and version information from the
/proc/version file. Instead of returning a Go struct, it returns Flatbuffer
serialized bytes. A function to deserialize the Flatbuffer serialized bytes
into a version.Kernel struct is provided.
Note: the package name is version and not the final element of the import
path (flat).
Deserialize takes some Flatbuffer serialized bytes and deserializes them as
version.Kernel.
Get gets the kernel information from the /proc/version file as Flatbuffer
serialized bytes using the package's global Profiler.
Serialize version.Kernel as Flatbuffers using the package's global Profiler.
Profiler processes the version information, /proc/version, using
Flatbuffers.
Returns an initialized Profiler; ready to use.
Get gets the kernel information from the /proc/version file as Flatbuffer
serialized bytes.
Serialize version.Kernel as Flatbuffers.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.