GoLang MongoDB\Driver\Monitoring\removeSubscriber

request it (345)
GoLang replacement for PHP's MongoDB\Driver\Monitoring\removeSubscriber [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\Driver\Monitoring\removeSubscriber? Write it!

PHP MongoDB\Driver\Monitoring\removeSubscriber

PHP original manual for MongoDB\Driver\Monitoring\removeSubscriber [ show | php.net ]

MongoDB\Driver\Monitoring\removeSubscriber

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\removeSubscriberUnregisters an existing monitoring event subscriber

Description

void MongoDB\Driver\Monitoring\addSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber )

Unregisters an existing monitoring event subscriber from the driver. Unregistered subscribers will no longer be notified of monitoring events.

Note: If the object is not registered, this function is a no-op.

Parameters

subscriber (MongoDB\Driver\Monitoring\Subscriber)

A monitoring event subscriber object to unregister.

Return Values

No value is returned.

Errors/Exceptions