Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationCategory ¶
type NotificationCategory string
const ( Hint NotificationCategory = "HINT" Unrecognized NotificationCategory = "UNRECOGNIZED" Unsupported NotificationCategory = "UNSUPPORTED" Performance NotificationCategory = "PERFORMANCE" Deprecation NotificationCategory = "DEPRECATION" Generic NotificationCategory = "GENERIC" )
type NotificationDisabledCategories ¶
type NotificationDisabledCategories struct {
// contains filtered or unexported fields
}
func DisableCategories ¶
func DisableCategories(value ...NotificationCategory) NotificationDisabledCategories
DisableCategories creates a NotificationDisabledCategories that disables the given categories. Can be used for NotificationsDisabledCategories of config.Config and config.SessionConfig.
func DisableNoCategories ¶
func DisableNoCategories() NotificationDisabledCategories
DisableNoCategories creates a NotificationDisabledCategories that enables all categories. Can be used for NotificationsDisabledCategories of neo4j.Config and neo4j.SessionConfig.
func (*NotificationDisabledCategories) DisabledCategories ¶
func (n *NotificationDisabledCategories) DisabledCategories() []NotificationCategory
DisabledCategories returns the categories that are disabled.
func (*NotificationDisabledCategories) DisablesNone ¶
func (n *NotificationDisabledCategories) DisablesNone() bool
DisablesNone returns true if all categories are enabled.
type NotificationMinimumSeverityLevel ¶
type NotificationMinimumSeverityLevel string
NotificationMinimumSeverityLevel defines the minimum severity level of notifications the server should send. Can be used for NotificationsMinSeverity of config.Config and config.SessionConfig.
const ( DefaultLevel NotificationMinimumSeverityLevel = "" DisabledLevel NotificationMinimumSeverityLevel = "DISABLED" WarningLevel NotificationMinimumSeverityLevel = "WARNING" InformationLevel NotificationMinimumSeverityLevel = "INFORMATION" )