Documentation ¶
Index ¶
- Constants
- type AbstractDialer
- type AbstractListener
- type ErrorCorrectionFacility
- type ErrorCorrectionFacilityFactory
- type ExtraOptionsAbstractDialerValue
- type ExtraOptionsAbstractListenerValue
- type ExtraOptionsBoostConnectionGracefulShutdownRequestValue
- type ExtraOptionsBoostConnectionSettingsHTTPTransportValue
- type ExtraOptionsBoostConnectionShouldNotRedialValue
- type ExtraOptionsFECPacketAssemblyOptValue
- type ExtraOptionsHTTPDialAddrValue
- type ExtraOptionsHTTPNetworkBufferSizeValue
- type ExtraOptionsHTTPServerStreamRelayValue
- type ExtraOptionsLocalUDPBindPortValue
- type ExtraOptionsUDPInitialDataValue
- type ExtraOptionsUDPTimeoutTimeValue
- type ExtraOptionsUniConnAttribValue
- type ExtraOptionsUsePacketArmorValue
- type GetTransmitLayerSentRecvStats
- type Masker
- type QualityEstimator
- type RSParityShardSum
- type StreamRelayer
- type SurrogateDialer
- type TrafficWithChannelTag
- type UDPPacket
Constants ¶
View Source
const ExtraOptionsAbstractDialer = "ExtraOptionsUseAbstractDialer"
View Source
const ExtraOptionsAbstractListener = "ExtraOptionsUseAbstractListener"
View Source
const ExtraOptionsBoostConnectionGracefulShutdownRequest = "ExtraOptionsBoostConnectionGracefulShutdownRequest"
View Source
const ExtraOptionsBoostConnectionSettingsHTTPTransport = "ExtraOptionsBoostConnectionSettingsHTTPTransport"
View Source
const ExtraOptionsBoostConnectionShouldNotRedial = "ExtraOptionsBoostConnectionShouldNotRedial"
View Source
const ExtraOptionsConnID = "ExtraOptionsConnID"
View Source
const ExtraOptionsDisableAutoQuitForClient = "ExtraOptionsDisableAutoQuitForClient"
View Source
const ExtraOptionsDisableFEC = "ExtraOptionsDisableFEC"
View Source
const ExtraOptionsFECPacketAssemblyOpt = "ExtraOptionsFECPacketAssemblyOpt"
View Source
const ExtraOptionsHTTPClientDialAlternativeChannel = "ExtraOptionsHTTPClientDialAlternativeChannel"
View Source
const ExtraOptionsHTTPDialAddr = "ExtraOptionsHTTPDialAddr"
View Source
const ExtraOptionsHTTPNetworkBufferSize = "ExtraOptionsHTTPNetworkBufferSize"
View Source
const ExtraOptionsHTTPServerStreamRelay = "ExtraOptionsHTTPServerStreamRelay"
View Source
const ExtraOptionsHTTPTransportConnIsBoostConnection = "ExtraOptionsHTTPTransportConnIsBoostConnection"
View Source
const ExtraOptionsHTTPUseSystemHTTPProxy = "ExtraOptionsHTTPUseSystemHTTPProxy"
View Source
const ExtraOptionsHTTPUseSystemSocksProxy = "ExtraOptionsHTTPUseSystemSocksProxy"
View Source
const ExtraOptionsLocalUDPBindPort = "ExtraOptionsLocalUDPBindPort"
View Source
const ExtraOptionsMessageBus = "ExtraOptionsMessageBus"
View Source
const ExtraOptionsMessageBusByConn = "ExtraOptionsMessageBusByConn"
View Source
const ExtraOptionsUDPFECEnabled = "ExtraOptionsUDPFECEnabled"
View Source
const ExtraOptionsUDPInitialData = "ExtraOptionsUDPInitialData"
View Source
const ExtraOptionsUDPMask = "ExtraOptionsUDPMask"
View Source
const ExtraOptionsUDPShouldMask = "ExtraOptionsUDPShouldMask"
View Source
const ExtraOptionsUDPTimeoutTime = "ExtraOptionsUDPTimeoutTime"
View Source
const ExtraOptionsUniConnAttrib = "ExtraOptionsUniConnAttrib"
View Source
const ExtraOptionsUsePacketArmor = "ExtraOptionsUsePacketArmor"
View Source
const ExtraOptionsUseWebSocketInsteadOfHTTP = "ExtraOptionsUseWebSocketInsteadOfHTTP"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractDialer ¶
type AbstractListener ¶
type ErrorCorrectionFacility ¶
type ErrorCorrectionFacilityFactory ¶
type ErrorCorrectionFacilityFactory interface {
Create(ctx context.Context) ErrorCorrectionFacility
}
type ExtraOptionsAbstractDialerValue ¶
type ExtraOptionsAbstractDialerValue struct { AbsDialer AbstractDialer UseAbsDialer bool }
type ExtraOptionsAbstractListenerValue ¶
type ExtraOptionsAbstractListenerValue struct { AbsListener AbstractListener UseAbsListener bool }
type ExtraOptionsBoostConnectionGracefulShutdownRequestValue ¶
type ExtraOptionsBoostConnectionGracefulShutdownRequestValue struct {
ShouldClose chan interface{}
}
type ExtraOptionsBoostConnectionShouldNotRedialValue ¶
type ExtraOptionsBoostConnectionShouldNotRedialValue struct {
ShouldNotReDial int32
}
type ExtraOptionsHTTPDialAddrValue ¶
type ExtraOptionsHTTPDialAddrValue struct {
Addr string
}
type ExtraOptionsHTTPNetworkBufferSizeValue ¶
type ExtraOptionsHTTPNetworkBufferSizeValue struct {
NetworkBufferSize int
}
type ExtraOptionsHTTPServerStreamRelayValue ¶
type ExtraOptionsHTTPServerStreamRelayValue struct {
Relay StreamRelayer
}
type ExtraOptionsUDPInitialDataValue ¶
type ExtraOptionsUDPInitialDataValue struct {
Data []byte
}
type ExtraOptionsUDPTimeoutTimeValue ¶
type ExtraOptionsUDPTimeoutTimeValue struct {
TimeoutTimeInSeconds int
}
type QualityEstimator ¶
type QualityEstimator interface { OnSendPing(ping proto.PingHeader) OnReceivePong(pong proto.PongHeader) }
type RSParityShardSum ¶
type RSParityShardSum struct {
ParityLookupTable []int
}
type StreamRelayer ¶
type StreamRelayer interface {
RelayStream(conn io.ReadWriteCloser, ctx context.Context)
}
type SurrogateDialer ¶
type TrafficWithChannelTag ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.