//
pkg.gl
Category
github.com/graph-gophers/graphql-go
example
caching
cache
package
1.5.0
Repository:
https://github.com/graph-gophers/graphql-go.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
3
Dependents
4
Files
76 SLOC
#
Functions
AddHint
AddHint applies a caching hint to the request context.
Hintable
Hintable extends the context with the ability to add cache hints.
TTL
TTL defines the cache duration.
#
Constants
ScopePrivate
Cache control scopes.
ScopePublic
Cache control scopes.
#
Structs
Hint
Hint defines a hint as to how long something should be cached for.