Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVICEQ_NO_ERR = 600 SERVICEQ_FLOODED_ERR = 601 UPSTREAM_NO_ERR = 700 UPSTREAM_TCP_ERR = 701 UPSTREAM_HTTP_ERR = 702 RESPONSE_FLOODED = "SERVICEQ_FLOODED" RESPONSE_TIMED_OUT = "UPSTREAM_TIMED_OUT" RESPONSE_SERVICE_DOWN = "UPSTREAM_DOWN" RESPONSE_NO_RESPONSE = "UPSTREAM_NO_RESPONSE" )
Variables ¶
This section is empty.
Functions ¶
func IsTCPAlive ¶
IsTCPAlive is a ping service to determine tcp connection state
func SetTCPDeadline ¶
SetTCPDeadline sets keep-alive timeout to tcp connection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.