GoLang SphinxClient::setConnectTimeout

request it (259)
GoLang replacement for PHP's SphinxClient::setConnectTimeout [edit | history]



Do you know a GoLang replacement for PHP's SphinxClient::setConnectTimeout? Write it!

PHP SphinxClient::setConnectTimeout

PHP original manual for SphinxClient::setConnectTimeout [ show | php.net ]

SphinxClient::setConnectTimeout

(PECL sphinx >= 0.1.0)

SphinxClient::setConnectTimeoutSet connection timeout

Description

public bool SphinxClient::setConnectTimeout ( float $timeout )

Sets connection timeout (in seconds) for searchd connection.

Parameters

timeout

Timeout in seconds.

Return Values

Returns TRUE on success or FALSE on failure.