{"modulePath":"github.com/StackVista/stackstate-process-agent","version":"v0.99.35","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cache\n\n## Functions\n\n```go\nfunc Get(key string) (interface{}, bool)\n```\nGet gets a value from the global memory cache. If the value is missing or the TTL has passed then it will return (nil, false).\n\n```go\nfunc Set(key string, val interface{})\n```\nSet sets a value in the cache without a TTL\n\n```go\nfunc SetWithTTL(key string, val interface{}, ttl time.Duration)\n```\nSetWithTTL sets a value in the global memory cache with a TTL.\n\n","path":"github.com/StackVista/stackstate-process-agent/util/cache","name":"cache","synopsis":"","isRedistributable":true}
