containerd/vendor/github.com/cloudfoundry/gosigar
Marcos Lilljedahl d5742209d3 Switch to new vendor directory layout
Fixes #113

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2016-03-16 01:56:22 -03:00
..
.gitignore Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
.travis.yml Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
concrete_sigar.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
LICENSE Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
NOTICE Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
README.md Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_darwin.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_format.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_interface.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_linux.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_unix.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_util.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
sigar_windows.go Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00
Vagrantfile Switch to new vendor directory layout 2016-03-16 01:56:22 -03:00

Go sigar

Overview

Go sigar is a golang implementation of the sigar API. The Go version of sigar has a very similar interface, but is being written from scratch in pure go/cgo, rather than cgo bindings for libsigar.

Test drive

$ go get github.com/cloudfoundry/gosigar
$ cd $GOPATH/src/github.com/cloudfoundry/gosigar/examples
$ go run uptime.go

Supported platforms

Currently targeting modern flavors of darwin and linux.

License

Apache 2.0