clienturlctx

package
v1.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package clienturlctx allows the setting of a client url in the context of the request

Index

Constants

View Source
const (

	// UnixURLScheme - scheme for unix urls
	UnixURLScheme = "unix"
)

Variables

This section is empty.

Functions

func ClientURL

func ClientURL(ctx context.Context) *url.URL

ClientURL -

Returns the ClientURL

func WithClientURL

func WithClientURL(parent context.Context, clientURL *url.URL) context.Context

WithClientURL -

Wraps 'parent' in a new Context that has the ClientURL

Types

This section is empty.

Jump to

Keyboard shortcuts

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