checkcontext

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package checkcontext - provides networkservice chain elements for checking the context.Context passed on by the previous chain element

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(t *testing.T, check func(*testing.T, context.Context)) networkservice.NetworkServiceClient

NewClient - returns NetworkServiceClient that checks the context passed in from the previous Client in the chain

t - *testing.T used for the check
check - function that checks the context.Context

func NewServer

func NewServer(t *testing.T, check func(*testing.T, context.Context)) networkservice.NetworkServiceServer

NewServer - returns NetworkServiceServer that checks the context passed in from the previous Server in the chain

t - *testing.T used for the check
check - function that checks the context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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