xrootd: add read request (without read-ahead usage)
Created by: EgorMatirov
Updates #170.
I would like to implement io.ReaderAt (and probably io.Reader
) interface but I'm not sure about naming of methods that take a context
as a parameter.
And basically it will be like:
func (f file) ReadAt(p []byte, off int64) (n int, err error) {
return f.ReadAtWithContext(context.Background(), p, off)
}
What do you think? Should we implement such methods? Any suggestions about naming?