(conn *Conn)
| 1544 | } |
| 1545 | |
| 1546 | func (r *reader) readOffsets(conn *Conn) (first, last int64, err error) { |
| 1547 | conn.SetDeadline(time.Now().Add(10 * time.Second)) |
| 1548 | return conn.ReadOffsets() |
| 1549 | } |
| 1550 | |
| 1551 | func (r *reader) sendMessage(ctx context.Context, msg Message, watermark int64) error { |
| 1552 | select { |
no test coverage detected