transmeta

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Overview

Package transmeta .

Index

Constants

View Source
const (
	HTTPDestService     = "destination-service"
	HTTPDestCluster     = "destination-cluster"
	HTTPDestIDC         = "destination-idc"
	HTTPDestEnv         = "destination-env"
	HTTPDestAddr        = "destination-addr"
	HTTPDestConnTimeout = "destination-connect-timeout"
	HTTPDestReqTimeout  = "destination-request-timeout"
	HTTPSourceService   = "source-service"
	HTTPSourceCluster   = "source-cluster"
	HTTPSourceIDC       = "source-idc"
	HTTPSourceEnv       = "source-env"
	HTTPRequestHash     = "http-request-hash"
	HTTPLogID           = "x-tt-logid"
	HTTPStress          = "x-tt-stress"
	HTTPFilterType      = "bytemesh-filter-type"
	// supply metadata
	HTTPDestMethod      = "destination-method"
	HTTPSourceMethod    = "source-method"
	HTTPSpanTag         = "span-tag"
	HTTPRawRingHashKey  = "raw-ring-hash-key"
	HTTPLoadBalanceType = "lb-type"
)

key of http egress meta

View Source
const (
	RPCFilter  = "rpc"
	GRPCFilter = "grpc"
)

value of http egress meta

View Source
const (
	MeshTHeaderProtocolVersion = "1.0.0"
	MeshOrTTHeaderProtocol     = "3"
)

Protocol constants.

View Source
const (
	MeshVersion uint16 = iota
	TransportType
	LogID
	FromService
	FromCluster
	FromIDC
	ToService
	ToCluster
	ToIDC
	ToMethod
	Env
	DestAddress
	RPCTimeout
	ReadTimeout
	RingHashKey
	DDPTag
	WithMeshHeader
	ConnectTimeout
	SpanContext
	ShortConnection
	FromMethod
	StressTag
	MsgType
	HTTPContentType
	RawRingHashKey
	LBType
)

Keys in mesh header.

View Source
const (
	HeaderTransRemoteAddr     = "rip"
	HeaderTransToCluster      = "tc"
	HeaderTransToIDC          = "ti"
	HeaderTransPerfTConnStart = "pcs"
	HeaderTransPerfTConnEnd   = "pce"
	HeaderTransPerfTSendStart = "pss"
	HeaderTransPerfTRecvStart = "prs"
	HeaderTransPerfTRecvEnd   = "pre"
	// the connection peer will shutdown later,so it send back the header to tell client to close the connection.
	HeaderConnectionReadyToReset = "crrst"
	HeaderProcessAtTime          = "K_ProcessAtTime"
)

key of header transport

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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