compute
github.com/fastly/compute-sdk-go/compute
Useful functions for interacting with the compute instance runtime.
Package compute_runtime provides ways to reflect on the operation of the compute runtime in which your application is operating.
Functions
| GetHeapMiB | Get the current dynamic memory usage of this sandbox, rounded up to the nearest mebibyte (2^20 bytes). |
| GetVCPUTime | Get the amount of time taken on the vCPU. |