cntx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTestTimeout = time.Minute * 5

Variables

This section is empty.

Functions

func TestingDeadline

func TestingDeadline(t errs.Testing) time.Duration

Types

type TC

type TC struct {
	// contains filtered or unexported fields
}

func Context

func Context(t errs.Testing, ctx context.Context, startTO, termTO time.Duration) *TC

func (*TC) Cancel

func (tc *TC) Cancel()

func (*TC) Starting

func (tc *TC) Starting() context.Context

func (*TC) Terminating

func (tc *TC) Terminating() context.Context

Jump to

Keyboard shortcuts

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