sctx

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHost

func GetHost(ctx context.Context) string

func SetHost

func SetHost(ctx context.Context, domain string) context.Context

Types

type ContextKey

type ContextKey int
const (
	HTTPRequestIDKey ContextKey = iota
)

Jump to

Keyboard shortcuts

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