testutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SpanIdHex = "0123456789abcdef"
View Source
const TraceIdHex = "44444444444444443333333333333333"

Variables

Functions

func Setenv

func Setenv(t *testing.T, k string, v string) func()

Setenv Returns a callback for use with defer

func Srv

func Srv(t *testing.T, response string, status int) *httptest.Server

func TracerSetup

func TracerSetup() (trace.Tracer, func())

func TracerWithExporter

func TracerWithExporter(e sdktrace.SpanExporter) (trace.Tracer, func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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