fullstorydev/emulators

Pluggable storage layer interface can't be implemented

iangudger opened this issue · 3 comments

The storage layer is pluggable, but the interface contains private types, so it can't be implemented by any type outside of the gcsemu package. Neither of the two included storage implementations meet my needs, so I would like to be able to provide my own.

What do you think about exporting gcsemu.httpBaseUrl?

Oops! Yes that's a big oversight, and unintended.

Are there any other helper methods, like stuff in meta.go that you'd need to implement your storage layer?

I think you are right that those would be helpful, but don't seem strictly necessary. Should I send a PR to make this change?

I gotchu fam 4c5d4f5