vkuznet / transfer2go

Distributed, loosely couple agent-based transferring system
MIT License
8 stars 2 forks source link

Add Catalog interface #27

Closed vkuznet closed 7 years ago

vkuznet commented 7 years ago

I think we should add a Catalog interface and convert existing implementation (core/catalog.go) to adopt such interface. This will allow easily switch to another back-end implementation. For instance, right now we use SQL database, but may be we may use document-oriented DB (like CouchDB or MongoDB) or key-value stores (e.g. dgraph badger DB, https://github.com/dgraph-io/badger)

vkuznet commented 7 years ago

in place