Documentation ¶
Overview ¶
Package help is a Snart plug which provides a basic help menu.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NumCPU returns the number of processors on the system. Exported only for testing. NumCPU = runtime.NumCPU // TotalRAM returns the amount of RAM available on the system. Exported only for testing. TotalRAM = memory.TotalMemory // AllocRAM returns the amount of RAM allocated to the runtime. Exported only for testing. AllocRAM = func() uint64 { ms := runtime.MemStats{} runtime.ReadMemStats(&ms) return ms.Sys } )
Plug is a pre-allocated Help, to follow the same pattern as when loading using plugin.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.