ctxutil

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Overview

Package ctxutil implements utilities for manipulating context.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detach

func Detach(ctx context.Context) context.Context

Detach returns a context that inheris provided context's values but not deadline or cancellation.

func GoDetached added in v0.10.6

func GoDetached(ctx context.Context, fun func(ctx context.Context))

GoDetached invokes the provided function in a goroutine where the context is detached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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