Documentation ¶
Index ¶
Constants ¶
View Source
const ( CacheName ctxKey = "CACHE_NAME" RequestCacheControl ctxKey = "REQUEST_CACHE_CONTROL" )
View Source
const ( GraphQL ctxKey = "GRAPHQL" HashBody ctxKey = "HASH_BODY" IsMutationRequest ctxKey = "IS_MUTATION_REQUEST" )
View Source
const ( Key ctxKey = "CACHE_KEY" DisplayableKey ctxKey = "DISPLAYABLE_KEY" IgnoredHeaders ctxKey = "IGNORE_HEADERS" )
View Source
const ( TimeoutCache ctxKey = "TIMEOUT_CACHE" TimeoutCancel ctxKey = "TIMEOUT_CANCEL" )
View Source
const CacheControlCtx ctxKey = "CACHE-CONTROL-CTX"
View Source
const SupportedMethod ctxKey = "SUPPORTED_METHOD"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { CacheName ctx GraphQL ctx Key ctx Method ctx Timeout ctx }
func GetContext ¶
func GetContext() *Context
func (*Context) Init ¶
func (c *Context) Init(co configurationtypes.AbstractConfigurationInterface)
Click to show internal directories.
Click to hide internal directories.