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 info | 5 package info |
6 | 6 |
7 import ( | 7 import ( |
8 "time" | 8 "time" |
9 | 9 |
10 "golang.org/x/net/context" | 10 "golang.org/x/net/context" |
11 ) | 11 ) |
12 | 12 |
13 // Interface is the interface for all of the package methods which normally | 13 // Interface is the interface for all of the package methods which normally |
(...skipping 26 matching lines...) Expand all Loading... |
40 // Testable returns this Interface's Testable interface. Testing will re
turn | 40 // Testable returns this Interface's Testable interface. Testing will re
turn |
41 // nil if testing is not supported in this implementation. | 41 // nil if testing is not supported in this implementation. |
42 Testable() Testable | 42 Testable() Testable |
43 } | 43 } |
44 | 44 |
45 // Testable is an additional set of functions for testing instrumentation. | 45 // Testable is an additional set of functions for testing instrumentation. |
46 type Testable interface { | 46 type Testable interface { |
47 SetVersionID(string) context.Context | 47 SetVersionID(string) context.Context |
48 SetRequestID(string) context.Context | 48 SetRequestID(string) context.Context |
49 } | 49 } |
OLD | NEW |