context

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package context manages the insertion of Request-specific information (which cache to use, etc.) into proxied HTTP requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resources

func Resources(ctx context.Context) interface{}

Resources returns the interface reference to the Request's resources

func WithResources

func WithResources(ctx context.Context, r interface{}) context.Context

WithResources returns a copy of the provided context that also includes the OriginConfig, CachingConfig and PathConfig for the request

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL