Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy interface { types.ReadFilter ReadDisableUpstream(disable bool) ReadDisableDownstream(disable bool) }
Proxy
type Stats ¶
type Stats struct { DownstreamConnectionTotal gometrics.Counter DownstreamConnectionDestroy gometrics.Counter DownstreamConnectionActive gometrics.Counter DownstreamBytesReadTotal gometrics.Counter DownstreamBytesWriteTotal gometrics.Counter DownstreamRequestTotal gometrics.Counter DownstreamRequestActive gometrics.Counter DownstreamRequestReset gometrics.Counter DownstreamRequestTime gometrics.Histogram DownstreamRequestTimeTotal gometrics.Counter DownstreamProcessTime gometrics.Histogram DownstreamProcessTimeTotal gometrics.Counter DownstreamRequestFailed gometrics.Counter }
type UpstreamCallbacks ¶
type UpstreamCallbacks interface { types.ReadFilter types.ConnectionEventListener }
UpstreamCallbacks callback invoked when upstream event happened
type UpstreamFailureReason ¶
type UpstreamFailureReason string
UpstreamFailureReason
const ( ConnectFailed UpstreamFailureReason = "ConnectFailed" NoHealthyUpstream UpstreamFailureReason = "NoHealthyUpstream" ResourceLimitExceeded UpstreamFailureReason = "ResourceLimitExceeded" NoRoute UpstreamFailureReason = "NoRoute" )
Group pf some Upstream Failure Reason
Click to show internal directories.
Click to hide internal directories.