base: Index | Files

package vcontext

import ""

Package vcontext creates a singleton vanadium Context object.


Package Files


func Background Uses

func Background() *context.T

Background returns the singleton Vanadium context for v23. It initializes v23 on the first call. GRAIL applications should always use this function to initialize and create a context instead of calling v23.Init() manually.

Caution: this function is depended on by many services, specifically the production pipeline controller. Be extremely careful when changing it.

Package vcontext imports 7 packages (graph) and is imported by 9 packages. Updated 2019-10-27. Refresh now. Tools for package owners.