ipld-eth-server/vendor/github.com/aristanetworks/goarista
Rob Mulholand 560305f601 Update dependencies
- uses newer version of go-ethereum required for go1.11
2018-09-13 16:14:35 -05:00
..
areflect Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
cmd Update dependencies 2018-09-13 16:14:35 -05:00
dscp Update dependencies 2018-09-13 16:14:35 -05:00
elasticsearch Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
gnmi Update dependencies 2018-09-13 16:14:35 -05:00
influxlib Update dependencies 2018-09-13 16:14:35 -05:00
kafka Update dependencies 2018-09-13 16:14:35 -05:00
key Update dependencies 2018-09-13 16:14:35 -05:00
lanz Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
monitor Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
monotime Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
netns Update dependencies 2018-09-13 16:14:35 -05:00
openconfig Update dependencies 2018-09-13 16:14:35 -05:00
path Update dependencies 2018-09-13 16:14:35 -05:00
sizeof Update dependencies 2018-09-13 16:14:35 -05:00
test Update dependencies 2018-09-13 16:14:35 -05:00
value Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
.travis.yml Update dependencies 2018-09-13 16:14:35 -05:00
AUTHORS Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
check_copyright_notice.sh Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
check_line_len.awk Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
COPYING Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
Dockerfile Update dependencies 2018-09-13 16:14:35 -05:00
Makefile Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
README.md Update dependencies 2018-09-13 16:14:35 -05:00
rpmbuild.sh Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00

Arista Go library Build Status codecov.io GoDoc Go Report Card

areflect

Helper functions to work with the reflect package. Contains ForceExport(), which bypasses the check in reflect.Value that prevents accessing unexported attributes.

monotime

Provides access to a fast monotonic clock source, to fill in the gap in the Go standard library, which lacks one. Don't use time.Now() in code that needs to time things or otherwise assume that time passes at a constant rate, instead use monotime.Now().

cmd

See the cmd directory.

dscp

Provides ListenTCPWithTOS(), which is a replacement for net.ListenTCP() that allows specifying the ToS (Type of Service), to specify DSCP / ECN / class of service flags to use for incoming connections. Requires go1.9.

key

Provides common types used across various Arista projects. The type key.Key is used to work around the fact that Go can't let one use a non-hashable type as a key to a map, and we sometimes need to use a map[string]interface{} (or something containing one) as a key to maps. As a result, we frequently use map[key.Key]interface{} instead of just map[interface{}]interface{} when we need a generic key-value collection. The type key.Path is the representation of a path broken down into individual elements, where each element is a key.Key. The type key.Pointer represents a pointer to a key.Path.

path

Provides functions that can be used to manipulate key.Path objects. The type path.Map may be used for mapping paths to values. It allows for some fuzzy matching for paths containing path.Wildcard keys.

lanz

A client for LANZ streaming servers. It connects to a LANZ streaming server, listens for notifications, decodes them and sends the LANZ protobuf on the provided channel.

monitor

A library to help expose monitoring metrics on top of the expvar infrastructure.

netns

netns.Do(namespace, cb) provides a handy mechanism to execute the given callback cb in the given network namespace.

influxlib

This is a influxdb library that provides easy methods of connecting to, writing to, and reading from the service.

test

This is a Go library to help in writing unit tests.

Examples

TBD