github.com/DaoCloud/dao@v0.0.0-20161212064103-c3dbfd13ee36/pkg/system/meminfo_unsupported.go (about) 1 // +build !linux,!windows,!solaris 2 3 package system 4 5 // ReadMemInfo is not supported on platforms other than linux and windows. 6 func ReadMemInfo() (*MemInfo, error) { 7 return nil, ErrNotSupportedPlatform 8 }