GoLang curl_multi_select

request it (273)
GoLang replacement for PHP's curl_multi_select [edit | history]

Do you know a GoLang replacement for PHP's curl_multi_select? Write it!

PHP curl_multi_select

PHP original manual for curl_multi_select [ show | php.net ]


(PHP 5, PHP 7)

curl_multi_selectWait for activity on any curl_multi connection


int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] )

Blocks until there is activity on any of the curl_multi connections.



A cURL multi handle returned by curl_multi_init().


Time, in seconds, to wait for a response.

Return Values

On success, returns the number of descriptors contained in the descriptor sets. This may be 0 if there was no activity on any of the descriptors. On failure, this function will return -1 on a select failure (from the underlying select system call).

See Also