Versions in this module Expand all Collapse all v1 v1.0.1 Mar 1, 2020 Changes in this version + type MemoryManager struct + func New(limit uint64, stopChan <-chan struct{}) *MemoryManager + func (mm *MemoryManager) MemoryAvailable() uint64 + func (mm *MemoryManager) MemoryLimit() uint64 + func (mm *MemoryManager) Request(amount uint64, priority bool) bool + func (mm *MemoryManager) Return(amount uint64) + func (mm *MemoryManager) SetMemoryLimit(amount uint64) string