mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 13:59:09 +02:00
Exclude the notifier response callback from generated bindings
This commit is contained in:
@@ -94,6 +94,8 @@ func (n *Notifier) RegisterNotificationCategory(category notifications.Notificat
|
|||||||
|
|
||||||
// OnNotificationResponse registers the response callback. Pure Go state, so
|
// OnNotificationResponse registers the response callback. Pure Go state, so
|
||||||
// it is safe (and simply inert) when the backend never started.
|
// it is safe (and simply inert) when the backend never started.
|
||||||
|
//
|
||||||
|
//wails:ignore
|
||||||
func (n *Notifier) OnNotificationResponse(callback func(result notifications.NotificationResult)) {
|
func (n *Notifier) OnNotificationResponse(callback func(result notifications.NotificationResult)) {
|
||||||
n.inner.OnNotificationResponse(callback)
|
n.inner.OnNotificationResponse(callback)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user