aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/core/export.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-07-07 12:15:01 +0200
committerMichael Muré <batolettre@gmail.com>2019-07-07 12:15:01 +0200
commitdc289876c625ec1c606e84112a6b6c53310e19be (patch)
tree0455ee404252f1b682980ffa0e6df6200bef06da /bridge/core/export.go
parent5b1a8cdefa9516d215f99ee114d451c96997f34a (diff)
downloadgit-bug-dc289876c625ec1c606e84112a6b6c53310e19be.tar.gz
bridge: detect when trying to configure a bridge with a name already taken
Diffstat (limited to 'bridge/core/export.go')
-rw-r--r--bridge/core/export.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/core/export.go b/bridge/core/export.go
index 080ced80..2bcf0087 100644
--- a/bridge/core/export.go
+++ b/bridge/core/export.go
@@ -15,6 +15,9 @@ const (
ExportEventNothing
)
+// ExportResult is an event that is emitted during the export process, to
+// allow calling code to report on what is happening, collect metrics or
+// display meaningful errors if something went wrong.
type ExportResult struct {
Err error
Event ExportEvent