MCPcopy Create free account
hub / github.com/stacklok/toolhive / Set

Method Set

pkg/vmcp/cache/cache.go:27–27  ·  view source on GitHub ↗

Set stores a token in the cache with TTL.

(ctx context.Context, key string, token *CachedToken)

Source from the content-addressed store, hash-verified

25
26 // Set stores a token in the cache with TTL.
27 Set(ctx context.Context, key string, token *CachedToken) error
28
29 // Delete removes a token from the cache.
30 Delete(ctx context.Context, key string) error

Calls

no outgoing calls