testTools

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package testTools provides tools for testing functionality that requires a gRPC connection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialContext

func DialContext(ctx context.Context) (*grpc.ClientConn, error)

DialContext returns a grpc.ClientConn connected to a bufconn.Listener

func EmptySpanId

func EmptySpanId() string

EmptySpanId returns a string representation of an empty span id

func EmptyTraceId

func EmptyTraceId() string

EmptyTraceId returns a string representation of an empty trace id

func Reset

func Reset(ctx context.Context)

Reset closes the bufconn.Listener and stops the grpc.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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