compute

Modulecompute-sdk-go v1.11.0

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

GetHeapMiBGet the current dynamic memory usage of this sandbox, rounded up to the nearest mebibyte (2^20 bytes).
GetVCPUTimeGet the amount of time taken on the vCPU.