These are chat archives for anacrolix/torrent

4th
Nov 2017
Matt Joiner
@anacrolix
Nov 04 2017 05:19
@boramalper I think only the ReadByte or whatever function is required. So you can emulate it by making a new type that wraps a reader, and exposes that byte per the contract of io.ByteScanner
@elgatito filecache is always the native filesystem, but https://godoc.org/github.com/anacrolix/torrent/storage#NewResourcePieces allows you to use any kind of underlying file-like storage. In the past I've used S3, memory, boltdb, filecache, it's pretty trivial to implement I think.
Denis
@elgatito
Nov 04 2017 07:19
I'm trying to use your approach, but to use only memory
Denis
@elgatito
Nov 04 2017 08:43
maybe you have some links that show custom Resource Provider implementations? :)