filecoin-project / lassie

A minimal universal retrieval client library for IPFS and Filecoin
Other
107 stars 17 forks source link

Seperate the Lassie library from everything else #266

Open hannahhoward opened 1 year ago

hannahhoward commented 1 year ago

This is a companion to #256.

Essentially, my thinking is this:

This isn't a comment on which of these folders would become internal (in pkg/lassie/internal) but we can think of that as well.

bajtos commented 1 year ago

but not

  • server

IIUC, this means that Rusty Lassie will need to (re)create the HTTP server. It would be great if there was an example showing how to write such a server. Even better, can Lassie the library export the request handler that people can add into their own servers (or muxers)?