summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/core.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at/rhimport/core.go')
-rw-r--r--src/helsinki.at/rhimport/core.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/helsinki.at/rhimport/core.go b/src/helsinki.at/rhimport/core.go
index f74f422..bb92d30 100644
--- a/src/helsinki.at/rhimport/core.go
+++ b/src/helsinki.at/rhimport/core.go
@@ -54,6 +54,13 @@ func init() {
type ImportProgressCB func(step int, stepName string, progress float64, userdata interface{}) bool
type ImportDoneCB func(ImportResult, interface{}) bool
+type ImportResult struct {
+ ResponseCode int
+ ErrorString string
+ Cart uint
+ Cut uint
+}
+
type ImportContext struct {
conf *Config
rddb *RdDbChan