Guillaume Louvigny
10a9ad4472
feat: support for sync clients
...
Signed-off-by: Guillaume Louvigny <glouvigny@users.noreply.github.com>
2022-08-08 17:15:13 +02:00
Guilhem Fanton
c9e4735369
fix: stream leaks
...
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
2020-10-28 15:02:22 +01: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
f2ee9b3d44
expose counter in register interface
2019-01-18 15:46:02 +02:00
vyzo
8846a4b090
include ttl in registration response
2019-01-18 15:31:50 +02:00
vyzo
baf1e4e618
don't leak database error details in internal errors
2018-04-26 14:30:47 +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
2b0995f842
test service errors
2018-04-24 18:16:44 +03:00
vyzo
cfbcddee41
up MaxRegistrations to 1k
2018-04-24 14:10:50 +03:00
vyzo
8c1227209a
better logging for service i/o
2018-04-24 12:00:53 +03:00
vyzo
4e3eaa7ba0
refactor service constructor into two parts
2018-04-23 14:44:14 +03:00
vyzo
dbe6b0ddb5
rendezvous service sync: hook for federation
2018-04-23 12:05:18 +03:00
vyzo
7d72fc79b3
service implementation
2018-04-23 11:54:25 +03:00