package
2.29.1+incompatible
Repository: https://github.com/luogreen/jaeger-client-go.git
Documentation: pkg.go.dev

# README

Apache Thrift

This is a partial copy of Apache Thrift v0.14.1 (https://github.com/apache/thrift/commit/f6fa1794539e68ac294038ac388d6bde40a6c237).

It is vendored code to avoid compatibility issues with Thrift versions.

The file logger.go is modified to remove dependency on "testing" (see Issue #585).

See:

# Functions

AddReadTHeaderToContext adds the whole THeader headers into context.
GetHeader returns a value of the given header from the context.
GetReadHeaderList returns the key list of read THeaders from the context.
GetResponseHelper retrieves the TResponseHelper implementation injected into the context object.
GetWriteHeaderList returns the key list of THeaders to write from the context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: Use NewTBinaryProtocolConf instead.
No description provided by the author
Deprecated: Use NewTBinaryProtocolFactoryConf instead.
No description provided by the author
Deprecated: Use NewTBinaryProtocolFactoryConf instead.
Deprecated: Use NewTBinaryProtocolConf instead.
Deprecated: Use NewTCompactProtocolConf instead.
No description provided by the author
Deprecated: Use NewTCompactProtocolFactoryConf instead.
No description provided by the author
Deprecated: Use NewTHeaderProtocolConf instead.
NewTHeaderProtocolConf creates a new THeaderProtocol from the underlying transport with given TConfiguration.
Deprecated: Use NewTHeaderProtocolFactoryConf instead.
NewTHeaderProtocolFactoryConf creates a factory for THeader with given TConfiguration.
NewTHeaderResponseHelper creates a new THeaderResponseHelper from the underlying TProtocol.
Deprecated: Use NewTHeaderTransportConf instead.
NewTHeaderTransportConf creates THeaderTransport from the underlying transport, with given TConfiguration attached.
Deprecated: Use NewTHeaderTransportFactoryConf instead.
NewTHeaderTransportFactoryConf creates a new *THeaderTransportFactory with the given *TConfiguration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTransformReaderWithCapacity initializes a TransformReader with expected closers capacity.
NewTransformWriter creates a new TransformWriter with base writer and transforms.
Wraps Transport to provide TRichTransport interface.
No description provided by the author
NewTSerializerPool creates a new TSerializerPool.
NewTSerializerPoolSizeFactory creates a new TSerializerPool with the given size and protocol factory.
Constructor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TStandardClient implements TClient, and uses the standard message format for Thrift.
No description provided by the author
No description provided by the author
No description provided by the author
NopLogger is a Logger implementation that does nothing.
Prepends additional information to an error without losing the Thrift exception interface.
PropagateTConfiguration propagates cfg to impl if impl implements TConfigurationSetter and cfg is non-nil, otherwise it does nothing.
SetHeader sets a header in the context.
SetReadHeaderList sets the key list of read THeaders in the context.
SetResponseHelper injects TResponseHelper into the context object.
SetWriteHeaderList sets the key list of THeaders to write in the context.
Skips over the next data element from the provided input TProtocol object.
Skips over the next data element from the provided input TProtocol object.
StdLogger wraps stdlib log package into a Logger.
THeaderProtocolIDPtr validates and returns the pointer to id.
THeaderProtocolIDPtrMust validates and returns the pointer to id.
TProtocolFactoryConf wraps a TProtocolFactory to propagate TConfiguration on the factory's GetProtocol calls.
TTransportFactoryConf wraps a TTransportFactory to propagate TConfiguration on the factory's GetTransport calls.
UnsetHeader unsets a previously set header in the context.
WrapTException wraps an error into TException.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default TConfiguration values.
Default TConfiguration values.
Default TConfiguration values.
The maximum recursive depth the skip() function will traverse.
Default TConfiguration values.
Default TConfiguration values.
Default TConfiguration values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TApplicationExceptions.
TExceptions defined in thrift files and generated by thrift compiler.
TProtocolExceptions.
TTransportExceptions.
TExceptionType values.
Constants defined in THeader format: https://github.com/apache/thrift/blob/master/doc/specs/HeaderFormat.md.
Constants defined in THeader format: https://github.com/apache/thrift/blob/master/doc/specs/HeaderFormat.md.
Constants defined in THeader format: https://github.com/apache/thrift/blob/master/doc/specs/HeaderFormat.md.
Constants defined in THeader format: https://github.com/apache/thrift/blob/master/doc/specs/HeaderFormat.md.
Supported THeaderProtocolID values.
Supported THeaderProtocolID values.
Supported THeaderProtocolID values.
No description provided by the author
0, no special handling.
1, zlib.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrAbandonRequest is a special error server handler implementations can return to indicate that the request has been abandoned.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerConnectivityCheckInterval defines the ticker interval used by connectivity check in thrift compiled TProcessorFunc implementations.
No description provided by the author

# Structs

ResponseMeta represents the metadata attached to the response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TConfiguration defines some configurations shared between TTransport, TProtocol, TTransportFactory, TProtocolFactory, and other implementations.
THeaderProtocol is a thrift protocol that implements THeader: https://github.com/apache/thrift/blob/master/doc/specs/HeaderFormat.md It supports either binary or compact protocol as the wrapped protocol.
THeaderResponseHelper defines THeader related TResponseHelper functions.
THeaderTransport is a Transport mode that implements THeader.
THeaderTransportFactory is a TTransportFactory implementation to create THeaderTransport.
Memory buffer-based implementation of the TTransport interface.
No description provided by the author
TransformReader is an io.ReadCloser that handles transforms reading.
TransformWriter is an io.WriteCloser that handles transforms writing.
TResponseHelper defines a object with a set of helper functions that can be retrieved from the context object passed into server handler functions.
No description provided by the author
TSerializerPool is the thread-safe version of TSerializer, it uses resource pool of TSerializer under the hood.
Simple JSON protocol implementation for thrift.
Factory.
* This is not a typical TSimpleServer as it is not blocked after accept a socket.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Application level Thrift exception.
No description provided by the author
TConfigurationSetter is an optional interface TProtocol, TTransport, TProtocolFactory, TTransportFactory, and other implementations can implement.
Generic Thrift exception.
A processor is a generic object which operates upon an input stream and writes to some output stream.
The default processor factory just returns a singleton instance.
No description provided by the author
* * The default processor factory just returns a singleton * instance.
No description provided by the author
Thrift Protocol exception.
Factory interface for constructing protocol instances.
This is "enchanced" transport with extra capabilities.
Server transport.
No description provided by the author
Encapsulates the I/O layer.
Thrift Transport exception.
Factory class used to create wrapped instance of Transports.

# Type aliases

Logger is a simple wrapper of a logging function.
TExceptionType is an enum type to categorize different "subclasses" of TExceptions.
THeaderInfoType is the type id of the info headers.
THeaderMap is the type of the header map in THeader transport.
THeaderProtocolID is the wrapped protocol id used in THeader.
THeaderTransformID defines the numeric id of the transform used.
Message type constants in the Thrift protocol.
Type constants in the Thrift protocol.