From 5c127fc220ab501989bbec00237d0ac65d1da702 Mon Sep 17 00:00:00 2001 From: WAKAYAMA Shirou Date: Tue, 22 Apr 2014 10:31:14 +0900 Subject: [PATCH] start to write documents. but I only have poor English skill. :scream: --- common.go | 6 ++++++ host.go | 2 ++ 2 files changed, 8 insertions(+) diff --git a/common.go b/common.go index 1da141d..5091d7f 100644 --- a/common.go +++ b/common.go @@ -1,3 +1,9 @@ +// +// gopsutil is a port of psutil(http://pythonhosted.org/psutil/). +// This covers these architectures. +// - linux +// - freebsd +// - window package gopsutil import ( diff --git a/host.go b/host.go index bdfcdec..a3ed2f1 100644 --- a/host.go +++ b/host.go @@ -1,5 +1,7 @@ package gopsutil +// A HostInfoStat describes the host status. +// This is not in the psutil but it useful. type HostInfoStat struct { Hostname string `json:"hostname"` Uptime int64 `json:"uptime"`