middleware

package
v0.0.0-...-4b7ff4e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRegionToContext

func AddRegionToContext(defaultRegion string) mux.MiddlewareFunc

func RegionFromContext

func RegionFromContext(ctx context.Context) (string, bool)

RegionFromContext returns request region associated with the context if possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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