summaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/folder-interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xdsserver/folder-interface.go')
-rw-r--r--lib/xdsserver/folder-interface.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/xdsserver/folder-interface.go b/lib/xdsserver/folder-interface.go
index 18cdb54..8fdcdb9 100644
--- a/lib/xdsserver/folder-interface.go
+++ b/lib/xdsserver/folder-interface.go
@@ -19,7 +19,10 @@ package xdsserver
import "gerrit.automotivelinux.org/gerrit/src/xds/xds-server/lib/xsapiv1"
+// FolderEventCBData Data format of FolderEvent events
type FolderEventCBData map[string]interface{}
+
+// FolderEventCB Callback prototype for FolderEvent events
type FolderEventCB func(cfg *xsapiv1.FolderConfig, data *FolderEventCBData)
// IFOLDER Folder interface