MCPcopy Create free account
hub / github.com/netlify/gotrue / withInstanceID

Function withInstanceID

api/context.go:86–88  ·  view source on GitHub ↗

withInstanceID adds the instance id to the context.

(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

84
85// withInstanceID adds the instance id to the context.
86func withInstanceID(ctx context.Context, id uuid.UUID) context.Context {
87 return context.WithValue(ctx, instanceIDKey, id)
88}
89
90// getInstanceID reads the instance id from the context.
91func getInstanceID(ctx context.Context) uuid.UUID {

Callers 1

WithInstanceConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…