github.com/walkingsparrow/docker@v1.4.2-0.20151218153551-b708a2249bfa/pkg/system/meminfo_unsupported.go (about)

     1  // +build !linux,!windows
     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  }