Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnPool ¶
func NewConnPool(host types.Host) types.ConnectionPool
NewConnPool for xprotocol upstream host
Types ¶
type StreamDirection ¶
type StreamDirection int
StreamDirection 1: server stream 0: client stream
const ( //ServerStream xprotocol as downstream ServerStream StreamDirection = 1 //ClientStream xprotocol as upstream ClientStream StreamDirection = 0 )
Click to show internal directories.
Click to hide internal directories.