You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/host
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
10 years ago
..
host.go change package name. 11 years ago
host_darwin.go shirou/gopsutil#90 make hostinfo more robust 10 years ago
host_darwin_amd64.go host: Users() on darwin works. but Started is not correct. 10 years ago
host_freebsd.go shirou/gopsutil#90 make hostinfo more robust 10 years ago
host_freebsd_amd64.go host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
host_linux.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
host_linux_386.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
host_linux_amd64.go host linux now use godefs. 11 years ago
host_linux_arm.go host[linux]: fix utmp struct on arm. 10 years ago
host_linux_test.go change package name. 11 years ago
host_test.go [linux] fix Host.BootTime(). It was seconds from Booted, not from epoch. 10 years ago
host_windows.go chore(*): Fixes #94 10 years ago
types_darwin.go host: Users() on darwin works. but Started is not correct. 10 years ago
types_freebsd.go host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
types_linux.go host linux now use godefs. 11 years ago