OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package taskqueue | 5 package taskqueue |
6 | 6 |
7 import ( | 7 import ( |
8 "github.com/luci/luci-go/common/errors" | 8 "github.com/luci/luci-go/common/errors" |
9 ) | 9 ) |
10 | 10 |
11 type taskqueueImpl struct{ RawInterface } | 11 type taskqueueImpl struct{ RawInterface } |
12 | 12 |
13 func (t *taskqueueImpl) Add(task *Task, queueName string) error { | 13 func (t *taskqueueImpl) Add(task *Task, queueName string) error { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 func (t *taskqueueImpl) Raw() RawInterface { | 69 func (t *taskqueueImpl) Raw() RawInterface { |
70 return t.RawInterface | 70 return t.RawInterface |
71 } | 71 } |
72 | 72 |
73 func (t *taskqueueImpl) Testable() Testable { | 73 func (t *taskqueueImpl) Testable() Testable { |
74 return t.RawInterface.Testable() | 74 return t.RawInterface.Testable() |
75 } | 75 } |
76 | 76 |
77 var _ Interface = (*taskqueueImpl)(nil) | 77 var _ Interface = (*taskqueueImpl)(nil) |
OLD | NEW |