comparison pkg/imports/st.go @ 4311:f9bb06f2dbe3

Added stub for a shape upload stretch import. POST /api/imports/stsh
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 03 Sep 2019 13:02:09 +0200
parents 91cb4a7b1b13
children 5e38667f740c
comparison
equal deleted inserted replaced
4310:3d6941046858 4311:f9bb06f2dbe3
38 // STJobKind is the import queue type identifier. 38 // STJobKind is the import queue type identifier.
39 const STJobKind JobKind = "st" 39 const STJobKind JobKind = "st"
40 40
41 type stJobCreator struct{} 41 type stJobCreator struct{}
42 42
43 func init() { 43 func init() { RegisterJobCreator(STJobKind, stJobCreator{}) }
44 RegisterJobCreator(STJobKind, stJobCreator{})
45 }
46 44
47 func (stJobCreator) Description() string { return "stretch" } 45 func (stJobCreator) Description() string { return "stretch" }
48 46
49 func (stJobCreator) AutoAccept() bool { return false } 47 func (stJobCreator) AutoAccept() bool { return false }
50 48