summaryrefslogtreecommitdiff
path: root/bookpipeline/cmd/getpipelinebook/main.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-05 09:40:35 +0100
committerNick White <git@njw.name>2019-09-05 09:40:35 +0100
commit70c1c0f0148ea173331f4f6d40274e3b95e3ce41 (patch)
treee601f13c735d624a7db4540ad64a62528b78295f /bookpipeline/cmd/getpipelinebook/main.go
parentc47e27ee5146b8c2dcf058ed58270ce691b43ff7 (diff)
Update Pipeliner interface in getpipelinebook, and update some comments
Diffstat (limited to 'bookpipeline/cmd/getpipelinebook/main.go')
-rw-r--r--bookpipeline/cmd/getpipelinebook/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bookpipeline/cmd/getpipelinebook/main.go b/bookpipeline/cmd/getpipelinebook/main.go
index 9d0e35e..55401e6 100644
--- a/bookpipeline/cmd/getpipelinebook/main.go
+++ b/bookpipeline/cmd/getpipelinebook/main.go
@@ -24,7 +24,7 @@ type Pipeliner interface {
ListObjects(bucket string, prefix string) ([]string, error)
Download(bucket string, key string, fn string) error
Upload(bucket string, key string, path string) error
- CheckQueue(url string) (bookpipeline.Qmsg, error)
+ CheckQueue(url string, timeout int64) (bookpipeline.Qmsg, error)
AddToQueue(url string, msg string) error
DelFromQueue(url string, handle string) error
WIPStorageId() string