GoLang GearmanClient::setContext

request it (271)
GoLang replacement for PHP's GearmanClient::setContext [edit | history]



Do you know a GoLang replacement for PHP's GearmanClient::setContext? Write it!

PHP GearmanClient::setContext

PHP original manual for GearmanClient::setContext [ show | php.net ]

GearmanClient::setContext

(PECL gearman >= 0.6.0)

GearmanClient::setContextSet application context

Description

public bool GearmanClient::setContext ( string $context )

Sets an arbitrary string to provide application context that can later be retrieved by GearmanClient::context().

Parameters

context

Arbitrary context data

Return Values

Always returns TRUE.

See Also