tracing

package
v0.0.0-...-876e163 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TracingRPCSet = wire.NewSet(wire.Struct(new(TracingRPC), "*"))

Functions

This section is empty.

Types

type TracingRPC

type TracingRPC struct {
	Logger       core.ILogger
	TracerConfig *jConfig.Configuration
}

func (*TracingRPC) GenErrMsg

func (t *TracingRPC) GenErrMsg(ctx context.Context, desc string, err error) error

func (*TracingRPC) GenOkMsg

func (t *TracingRPC) GenOkMsg(ctx context.Context, desc string) string

func (*TracingRPC) Trace

func (t *TracingRPC) Trace(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

Jump to

Keyboard shortcuts

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