context

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncTargetKeyFrom

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

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

func WithSyncTargetKey

func WithSyncTargetKey(ctx context.Context, syncTargetKey string) context.Context

WithSyncTargetKey adds a SyncTarget key 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