mirror of https://github.com/shirou/gopsutil
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.
Remains backward compatible. When encountering non-fatal errors SensorsTemperatures() returns the temperatures for all the sensor we could read successfully. In that case the custom error contains a list of all the non-fatal errors encountered. Example usage: _, err := SensorsTemperatures() if err != nil { warns, ok := err.(*Warnings) if ok { fmt.Printf("%v\n", err) for i, w := range warns.List { fmt.Printf("Warning %v: %v\n", i+1, w) } } else { t.Errorf("%v", err) } } |
6 years ago | |
---|---|---|
.. | ||
host.go | 7 years ago | |
host_darwin.go | 6 years ago | |
host_darwin_386.go | 8 years ago | |
host_darwin_amd64.go | 9 years ago | |
host_fallback.go | 7 years ago | |
host_freebsd.go | 7 years ago | |
host_freebsd_386.go | 9 years ago | |
host_freebsd_amd64.go | 9 years ago | |
host_freebsd_arm.go | 8 years ago | |
host_linux.go | 6 years ago | |
host_linux_386.go | 9 years ago | |
host_linux_amd64.go | 9 years ago | |
host_linux_arm.go | 9 years ago | |
host_linux_arm64.go | 9 years ago | |
host_linux_mips.go | 8 years ago | |
host_linux_mips64.go | 7 years ago | |
host_linux_mips64le.go | 7 years ago | |
host_linux_mipsle.go | 8 years ago | |
host_linux_ppc64le.go | 9 years ago | |
host_linux_s390x.go | 8 years ago | |
host_linux_test.go | 11 years ago | |
host_openbsd.go | 6 years ago | |
host_openbsd_amd64.go | 8 years ago | |
host_solaris.go | 7 years ago | |
host_test.go | 6 years ago | |
host_windows.go | 7 years ago | |
types.go | 6 years ago | |
types_darwin.go | 10 years ago | |
types_freebsd.go | 9 years ago | |
types_linux.go | 9 years ago | |
types_openbsd.go | 8 years ago |