Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoRealTimeMemoryLimiter ¶
type GoRealTimeMemoryLimiter struct{}
func NewRealTimeMemoryUsageProvider ¶
func NewRealTimeMemoryUsageProvider() *GoRealTimeMemoryLimiter
NewRealTimeMemoryUsageProvider uses a 3rd party dependency that reaches into Go's internals to fetch current memory usage. This was decided to be better than us fetching current usage on an interval.
func (GoRealTimeMemoryLimiter) IsMemLimitReached ¶
func (g GoRealTimeMemoryLimiter) IsMemLimitReached() bool
Click to show internal directories.
Click to hide internal directories.