tetsJSONStreamDecoder is used as an easy way to test how [SyntaxError]s are handled in the log reader.
| 52 | // tetsJSONStreamDecoder is used as an easy way to test how [SyntaxError]s are |
| 53 | // handled in the log reader. |
| 54 | type testJSONStreamDecoder struct { |
| 55 | dec *json.Decoder |
| 56 | } |
| 57 | |
| 58 | func (d *testJSONStreamDecoder) Decode() (*logger.Message, error) { |
| 59 | var m logger.Message |
nothing calls this directly
no outgoing calls
no test coverage detected