checkconnection

package
v1.12.0 Latest Latest
Warning

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

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

Documentation

Overview

Package checkconnection provides utilities for checking the returned connection from the next element in a chain

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(t *testing.T, check func(t *testing.T, conn *networkservice.Connection)) networkservice.NetworkServiceClient

NewClient - returns a NetworkServiceClient chain element that will check the connection returned by the next Client in the chain

t - *testing.T for the check
check - function to run on the Connection to check it is as it should be

Types

This section is empty.

Jump to

Keyboard shortcuts

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