ReadOffset returns the offset of the first message with a timestamp equal or greater to t.
(t time.Time)
| 894 | // ReadOffset returns the offset of the first message with a timestamp equal or |
| 895 | // greater to t. |
| 896 | func (c *Conn) ReadOffset(t time.Time) (int64, error) { |
| 897 | return c.readOffset(timestamp(t)) |
| 898 | } |
| 899 | |
| 900 | // ReadFirstOffset returns the first offset available on the connection. |
| 901 | func (c *Conn) ReadFirstOffset() (int64, error) { |
no test coverage detected