Commit Graph

8 Commits (58133410ecc3af399431b8720781a9604d068b32)

Author SHA1 Message Date
Sean Chittenden 59094cd5b7
Add HostID to the Host InfoStat struct returned from host.Info().
On supported hosts the value returned is a UUID (case preserving
from the value of the underlying OS).

For Linux this is generated once, randomly per boot.  For FreeBSD and
Darwin this is a more durable value that should persist across reboots.
9 years ago
Shirou WAKAYAMA 57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
Shirou WAKAYAMA 4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase. 9 years ago
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
Cameron Sparr 444ee723c3 Fix HostInfo.Uptime, which has been returning boot time
Also adding a HostInfo.BootTime field for holding the boot time
10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 11 years ago
Shirou WAKAYAMA 16de570414 merge 039b9defab 11 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 11 years ago