Documentation ¶
Overview ¶
Package request provides functionality for handling HTTP Requests including the insertion of configuration options into the request
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resources ¶
type Resources struct { OriginConfig *oo.Options PathConfig *po.Options CacheConfig *co.Options NoLock bool CacheClient cache.Cache OriginClient origins.Client AlternateCacheTTL time.Duration TimeRangeQuery *timeseries.TimeRangeQuery Tracer *tracing.Tracer Logger *tl.Logger }
Resources is a collection of resources a Trickster request would need to fulfill the client request This is stored in the client request's context for use by request handers.
func GetResources ¶
GetResources will return a casted Resource object from the HTTP Request's context
Click to show internal directories.
Click to hide internal directories.