Commit Graph

3 Commits (7ec06ec280df1dd1f08befc535049d49d63ae18a)

Author SHA1 Message Date
Conor Branagan df61ef6d5f Add stub functions for ConnectionsMax in other OS versions.
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
Lukas Fittl da9fa1162b Add fallback code for all unsupported operating systems.
This enables using gopsutil in a codebase that gets built on other OSes
than the ones supported. Instead of a build failure as before, due to
the build tags, gopsutil will now throw an "not implemented" runtime
error.

Fixes #234.