wookie

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderName = "Warrant-Token"
View Source
const Latest = "latest"

Variables

This section is empty.

Functions

func ContainsLatest

func ContainsLatest(ctx context.Context) bool

Returns true if ctx contains wookie set to 'latest', false otherwise.

func WithLatest

func WithLatest(parent context.Context) context.Context

Return a context with wookie set to 'latest'.

func WookieMiddleware

func WookieMiddleware(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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