5 Commits

Author SHA1 Message Date
Adin Schmahmann
25d0082f05 fixed compile error from previous commit + code refactoring 2019-06-05 13:44:44 -04:00
Adin Schmahmann
91cdb88828 Switched from gx to go mod and started using go-libp2p-core interfaces 2019-05-28 14:41:28 -04:00
vyzo
c540724f1f two interfaces for client-side: RendezvousPoint and RendezvousClient
RendezvousClient soon to be stateful.
2018-04-28 12:05:21 +03:00
vyzo
c487c2077b refactor database interface and implementation into db subpackage
We now have:
- db/dbi.go -- interface, no dependency on any particular database
- db/sqlite/... -- sqlite implementation, depends on dbi
- the rendezvous.NewRendezvousService API has been redefined to NewRendezvouServiceWithDB
  service importer constructs the database of choice
- the rendezvous package has no dependences on db implementation, so clients can import
  without linking SQLite in the binary
2018-04-26 14:06:58 +03:00
vyzo
6c4fda5295 test client specific functionality 2018-04-24 18:43:43 +03:00