...

Source file src/github.com/shirou/gopsutil/host/host_fallback.go

Documentation: github.com/shirou/gopsutil/host

     1  // +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
     2  
     3  package host
     4  
     5  import (
     6  	"context"
     7  
     8  	"github.com/shirou/gopsutil/internal/common"
     9  )
    10  
    11  func HostIDWithContext(ctx context.Context) (string, error) {
    12  	return "", common.ErrNotImplementedError
    13  }
    14  
    15  func numProcs(ctx context.Context) (uint64, error) {
    16  	return 0, common.ErrNotImplementedError
    17  }
    18  
    19  func BootTimeWithContext(ctx context.Context) (uint64, error) {
    20  	return 0, common.ErrNotImplementedError
    21  }
    22  
    23  func UptimeWithContext(ctx context.Context) (uint64, error) {
    24  	return 0, common.ErrNotImplementedError
    25  }
    26  
    27  func UsersWithContext(ctx context.Context) ([]UserStat, error) {
    28  	return []UserStat{}, common.ErrNotImplementedError
    29  }
    30  
    31  func VirtualizationWithContext(ctx context.Context) (string, string, error) {
    32  	return "", "", common.ErrNotImplementedError
    33  }
    34  
    35  func KernelVersionWithContext(ctx context.Context) (string, error) {
    36  	return "", common.ErrNotImplementedError
    37  }
    38  
    39  func PlatformInformationWithContext(ctx context.Context) (string, string, string, error) {
    40  	return "", "", "", common.ErrNotImplementedError
    41  }
    42  
    43  func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
    44  	return []TemperatureStat{}, common.ErrNotImplementedError
    45  }
    46  
    47  func KernelArch() (string, error) {
    48  	return "", common.ErrNotImplementedError
    49  }
    50  

View as plain text