zipkindesermocks

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAnno

func CreateAnno(val string, ts int, endpoint string) string

CreateAnno builds annotation JSON.

func CreateBinAnno

func CreateBinAnno(key string, val string, endpoint string) string

CreateBinAnno builds binary annotation JSON.

func CreateEndpoint

func CreateEndpoint(serviceName string, ipv4 string, ipv6 string, port int) string

CreateEndpoint builds endpoint JSON.

func CreateSpan

func CreateSpan(
	name, id, parentID, traceID string,
	ts, duration int64,
	debug bool,
	anno, binAnno string,
) string

CreateSpan builds span JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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