diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:33:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:33:38 (GMT) |
commit | f390aaa79bef626f69ced73b3eeb1f1ffea93c6d (patch) | |
tree | f8ec04c2a7a7e7485c7541f2a3c108adbdcee084 /src/helsinki.at/rhimport/core.go | |
parent | f2e1ae7dc36e6894d5f8e1d5b512d6b5437d4f21 (diff) |
replaces FetchResult by ImportResult
Diffstat (limited to 'src/helsinki.at/rhimport/core.go')
-rw-r--r-- | src/helsinki.at/rhimport/core.go | 7 |
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 |