On Thu, Dec 21, 2017 at 7:57 AM, Norman Walsh <[email protected]> wrote:
> Mathieu Lonjaret <[email protected]> writes: > > The minimum is to implement a blob server: > > https://perkeep.org/doc/terms#blobserver > > but what you probably want is to implement a full storage interface: > > https://perkeep.org/pkg/blobserver#Storage > > you can look at any of the other existing implementations in > > pkg/blobserver (https://perkeep.org/pkg/blobserver#pkg-subdirectories) > > for examples. > > Ok. It might be fun to learn a bit of Go and try to implement the > whole thing as a new backend, but have you considered providing a > generalized interface that communicates with the actual backend > database through a defined REST interface? > We actually have one already. You don't need to write in Go. If you just want to write a blob server in your favorite language, you need to implement the blob server protocol: https://camlistore.googlesource.com/camlistore/+/master/doc/protocol/ And then you can use it from the main perkeep server (still called camlistored for a bit) by using the "remote" blob storage target. The "remote" blob server implements the blobserver.Storage interface that Mathieu had linked by being a client to a remote server implementation. -- You received this message because you are subscribed to the Google Groups "Camlistore" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
