servercontext

package
v4.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package servercontext performs context values read/write, generally through server or client wrappers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegistry

func GetRegistry(ctx context.Context) registry.Registry

GetRegistry returns the registry from the context in argument

func WithRegistry

func WithRegistry(ctx context.Context, reg registry.Registry) context.Context

WithRegistry links a registry to the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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