io

package
v0.0.0-...-093b380 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TAnnotationAPI         = 12
	TAnnotationAPIMetadata = 13
	TAnnotationReturnData  = 14
	TAnnotationAPITag      = 10015

	TAnnotationSQLID        = 20
	TAnnotationSQL          = 21
	TAnnotationSQLMetadata  = 22
	TAnnotationSQLParam     = 23
	TAnnotationSQLBindvalue = 24

	TAnnotationHTTPUrl        = 40
	TAnnotationHTTPStatusCode = 46

	TAnnotationARGS0 = -1
	TAnnotationARGS1 = -2
	TAnnotationARGS2 = -3
	TAnnotationARGS3 = -4
	TAnnotationARGS4 = -5
	TAnnotationARGS5 = -6
	TAnnotationARGS6 = -7
	TAnnotationARGS7 = -8
	TAnnotationARGS8 = -9
	TAnnotationARGS9 = -10
	TAnnotationARGSN = -11

	TAnnotationException      = -50
	TAnnotationExceptionClass = -51
	TAnnotationUnknown        = -9999

	TAnnotationAsync = -100
)
View Source
const (
	SIGNATURE   = -17
	HEADER_SIZE = 4
)
View Source
const (
	// Signature pinpoint singnature
	Signature int8 = -17
	// DtoVersion dto version
	DtoVersion uint8 = 16
)
View Source
const (
	ServiceTypeHTTPClient        = 9052
	ServiceTypeUnkonwnDB         = 2050
	ServiceTypeMysql             = 2100
	ServiceTypeMysqlExecuteQuery = 2101
	ServiceTypeOracle            = 2300

	ServiceTypePython             = 1550
	ServiceTypePythonMethod       = 1551
	ServiceTypePythonRemoteMethod = 9800

	ServiceTypeGo             = 1000
	ServiceTypeGoMethod       = 0
	ServiceTypeGoAsyncMethod  = 0
	ServiceTypeGoRemoteMethod = 0

	ServiceTypeMemcached = 8050
	ServiceTypeRedis     = 8200
)
View Source
const (
	TTypeSpan           = 40
	TTypeAgentInfo      = 50
	TTypeAgentStat      = 55
	TTypeAgentStatBatch = 56
	TTypeSpanChunk      = 70
	TTypeSpanEvent      = 80
	TTypeAPIMetadata    = 310
)
View Source
const (
	RequestTypeAppRequest uint16 = 5
)

Variables

This section is empty.

Functions

func EncodeTCPTTstuctRequest

func EncodeTCPTTstuctRequest(messageID uint32, ttype uint16, tstruct thrift.TStruct) ([]byte, error)

EncodeTCPTTstuctRequest ...

func EncodeTstruct

func EncodeTstruct(ttype uint16, tstruct thrift.TStruct) ([]byte, error)

EncodeTstruct ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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