# README
Preparing web100 source
Install go-bindata:
go get -u github.com/jteeuwen/go-bindata/...
Convert tcp-kis.txt into embedded go file:
go-bindata -prefix embed/ -pkg web100 -o tcpkis.go embed
TODOs
- Upstream the web100.c changes to support 64-bit environments.
- Upstream the tcp-kis.txt changes to eliminate conflicts for StartTimeSec and StartTimeUsec (and other inconsistencies across published versions).
- Optimize web100.go implementation, e.g. to read snaplog from byte buffer instead of from file.
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
FixIPv6 fixes triple colon ::: which is produced by sidestream.
IPFromBytes handles the 17 byte web100 IP address fields.
MustAsset is like Asset but panics when Asset would return an error.
No description provided by the author
NewSnapLog creates a SnapLog from a byte array.
NewVariable creates a new variable based on web100 definition string.
ParseIPFamily determines whether an IP string is v4 or v6.
ParseWeb100Definitions reads all web100 variable definitions from tcpKis and returns a mapping from legacy names to canonical names.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
ValidateIP validates (and possibly repairs) IP addresses.
# Constants
=================================================================================.
=================================================================================.
=================================================================================.
=================================================================================.
No description provided by the author
No description provided by the author
No description provided by the author
The ordering here is important, as it reflects the type values defined by the web100 libraries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The ordering here is important, as it reflects the type values defined by the web100 libraries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
CanonicalNames provides the mapping from old names (in snaplog files) to new canonical names.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
IP validation errors.
# Structs
No description provided by the author
SnapLog encapsulates the raw data and all elements of the header.
Snapshot represents a complete snapshot from a snapshot log.
Variable is a representation of a Web100 field specifications, as they appear in snaplog headers.
# Interfaces
The Saver interface decouples reading data from the web100 log files and saving those values.