Documentation ¶
Overview ¶
Package transmeta .
Index ¶
Constants ¶
View Source
const ( HTTPDestService = "destination-service" HTTPDestAddr = "destination-addr" HTTPSourceService = "source-service" // supply metadata HTTPDestMethod = "destination-method" HTTPSourceMethod = "source-method" )
key of http transit info
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.
Click to show internal directories.
Click to hide internal directories.