context

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncTargetNameFrom

func SyncTargetNameFrom(ctx context.Context) (string, error)

SyncTargetNameFrom retrieves the SyncTarget name key from the context, if any.

func WithSyncTargetName

func WithSyncTargetName(ctx context.Context, syncTargetName string) context.Context

WithSyncTargetName adds a SyncTarget name 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