OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package taskqueue | |
6 | |
7 type RawCB func(error) | |
8 | |
9 type RawTaskCB func(*Task, error) | |
10 | |
11 type RawStatsCB func(*Statistics, error) | |
dnj
2015/08/03 22:37:25
Exported types need comments.
iannucci
2015/08/04 01:21:21
Done.
| |
12 | |
13 // RawInterface is the full interface to the Task Queue service. | |
14 type RawInterface interface { | |
15 AddMulti(tasks []*Task, queueName string, cb RawTaskCB) error | |
16 DeleteMulti(tasks []*Task, queueName string, cb RawCB) error | |
17 | |
18 Purge(queueName string) error | |
dnj
2015/08/03 22:37:25
Exported methods need comments.
| |
19 | |
20 Stats(queueNames []string, cb RawStatsCB) error | |
21 } | |
OLD | NEW |