| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package raw_presentation | 5 package rawpresentation |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 miloProto "github.com/luci/luci-go/common/proto/milo" | 8 miloProto "github.com/luci/luci-go/common/proto/milo" |
| 9 ) | 9 ) |
| 10 | 10 |
| 11 // Streams represents a group of LogDog Streams with a single entry point. | 11 // Streams represents a group of LogDog Streams with a single entry point. |
| 12 // Generally all of the streams are referenced by the entry point. | 12 // Generally all of the streams are referenced by the entry point. |
| 13 type Streams struct { | 13 type Streams struct { |
| 14 // MainStream is a pointer to the primary stream for this group of strea
ms. | 14 // MainStream is a pointer to the primary stream for this group of strea
ms. |
| 15 MainStream *Stream | 15 MainStream *Stream |
| (...skipping 18 matching lines...) Expand all Loading... |
| 34 // this is nil. | 34 // this is nil. |
| 35 Data *miloProto.Step | 35 Data *miloProto.Step |
| 36 // Text is the text of the Stream, if IsDatagram is false. Otherwise | 36 // Text is the text of the Stream, if IsDatagram is false. Otherwise |
| 37 // this is an empty string. | 37 // this is an empty string. |
| 38 Text string | 38 Text string |
| 39 | 39 |
| 40 // Closed specifies whether Text or Data may change in the future. | 40 // Closed specifies whether Text or Data may change in the future. |
| 41 // If Closed, they may not. | 41 // If Closed, they may not. |
| 42 Closed bool | 42 Closed bool |
| 43 } | 43 } |
| OLD | NEW |