Documentation ¶
Overview ¶
Package grpctrace provides tracing helpers for grpc servers and clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetadataReaderWriter ¶
MetadataReaderWriter satisfies both the opentracing.TextMapReader and opentracing.TextMapWriter interfaces.
func (MetadataReaderWriter) ForeachKey ¶
func (w MetadataReaderWriter) ForeachKey(handler func(key, val string) error) error
ForeachKey does something for each key.
func (MetadataReaderWriter) Set ¶
func (w MetadataReaderWriter) Set(key, val string)
Set sets a key a value.
type TraceFinisher ¶
type TraceFinisher struct {
// contains filtered or unexported fields
}
TraceFinisher finishes traces.
func (TraceFinisher) Finish ¶
func (tf TraceFinisher) Finish(err error)
Finish implements TraceFinisher.
Click to show internal directories.
Click to hide internal directories.