Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TotalMemory

func TotalMemory() (int64, error)

    TotalMemory returns total available memory. This implementation is meant for linux and uses cgroups to determine available memory.

    Types

    This section is empty.
    GOOS=linux, GOARCH=amd64