MCPcopy
hub / github.com/redis/go-redis / GetMaintNotificationsManager

Method GetMaintNotificationsManager

redis.go:1466–1470  ·  view source on GitHub ↗

GetMaintNotificationsManager returns the maintnotifications manager instance for monitoring and control. Returns nil if maintnotifications are not enabled.

()

Source from the content-addressed store, hash-verified

1464// GetMaintNotificationsManager returns the maintnotifications manager instance for monitoring and control.
1465// Returns nil if maintnotifications are not enabled.
1466func (c *Client) GetMaintNotificationsManager() *maintnotifications.Manager {
1467 c.maintNotificationsManagerLock.RLock()
1468 defer c.maintNotificationsManagerLock.RUnlock()
1469 return c.maintNotificationsManager
1470}
1471
1472// initializePushProcessor initializes the push notification processor for any client type.
1473// This is a shared helper to avoid duplication across NewClient, NewFailoverClient, and NewSentinelClient.

Calls

no outgoing calls