Versions in this module Expand all Collapse all v1 v1.1.0-beta2 May 17, 2016 v1.1.0-beta1 Mar 24, 2016 v1.0.2 Mar 31, 2016 v1.0.1 Mar 25, 2016 v1.0.0 Mar 15, 2016 Changes in this version + const GB + const GiB + const KB + const KiB + const MB + const MiB + const PB + const PiB + const TB + const TiB + func BytesSize(size float64) string + func CustomSize(format string, size float64, base float64, _map []string) string + func FromHumanSize(size string) (int64, error) + func HumanDuration(d time.Duration) string + func HumanSize(size float64) string + func RAMInBytes(size string) (int64, error) + type Rlimit struct + Hard uint64 + Soft uint64 + Type int + type Ulimit struct + Hard int64 + Name string + Soft int64 + func ParseUlimit(val string) (*Ulimit, error) + func (u *Ulimit) GetRlimit() (*Rlimit, error) + func (u *Ulimit) String() string v1.0.0-beta2 Mar 14, 2016 v1.0.0-beta1 Mar 11, 2016 v0 v0.20.0-alpha9 Mar 1, 2016 v0.20.0-alpha8 Feb 25, 2016 v0.20.0-alpha5 Feb 9, 2016 v0.20.0-alpha12 Mar 10, 2016 v0.20.0-alpha11 Mar 3, 2016