Skip to content

Commit

Permalink
Fix indentation in Go struct
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Jul 27, 2022
1 parent 43e0de9 commit 345c7aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/adr/adr-008-p2p-discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ peersLimit = 3

// discovery combines advertise and discover services and allows to store discovered nodes.
type discovery struct {
// storage where all discovered and active peers are saved.
set *limitedSet
// libp2p.Host allows to connect to discovered peers.
host host.Host
// libp2p.Discovery allows to advertise and discover peers.
disc core.Discovery
// storage where all discovered and active peers are saved.
set *limitedSet
// libp2p.Host allows to connect to discovered peers.
host host.Host
// libp2p.Discovery allows to advertise and discover peers.
disc core.Discovery
}

// limitedSet is a thread safe set of peers with given limit.
Expand Down

0 comments on commit 345c7aa

Please sign in to comment.