tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit 0d439d8aa0449fed236a0a5ff5ceedb9d69ff860
parent 9a527aed03c20baa04492e67a4bc6154be1a0294
Author: parazyd <parazyd@dyne.org>
Date:   Mon,  8 Mar 2021 01:00:31 +0100

database: Correct doc typo.

Diffstat:
Mdatabase.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/database.go b/database.go @@ -24,7 +24,8 @@ import ( ) // WritePeersDB marshals the Peers global to JSON and writes to given file. -// Please note that this should be probably used in conjuction with a semaphore. +// Please note that this should be probably used in conjunction with some sort +// of semaphore. func WritePeersDB(file string) error { j, err := json.Marshal(Peers) if err != nil {