ReadFirstOffset returns the first offset available on the connection.
()
| 899 | |
| 900 | // ReadFirstOffset returns the first offset available on the connection. |
| 901 | func (c *Conn) ReadFirstOffset() (int64, error) { |
| 902 | return c.readOffset(FirstOffset) |
| 903 | } |
| 904 | |
| 905 | // ReadLastOffset returns the last offset available on the connection. |
| 906 | func (c *Conn) ReadLastOffset() (int64, error) { |