context

package
v0.0.0-...-7b39720 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestInformationFrom

func RequestInformationFrom(ctx request.Context) (resource string, method string, ok bool)

RequestInformationFrom returns resource and method on the ctx

func RequestListInformationFrom

func RequestListInformationFrom(ctx request.Context) (method string, ok bool)

RequestListInformationFrom returns method on the ctx

func WithRequestInformation

func WithRequestInformation(parent request.Context, resource, method string) request.Context

WithRequestInformation returns a copy of parent in which the resource and method values are set

func WithRequestListInformation

func WithRequestListInformation(parent request.Context, method string) request.Context

WithRequestListInformation returns a copy of parent in which the method values is set

Types

This section is empty.

Jump to

Keyboard shortcuts

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