mirror of https://github.com/vacp2p/nim-libp2p.git
Add a userdata field to the DaemonAPI to support attaching application data
This commit is contained in:
parent
a736334fe1
commit
d21953e458
|
@ -121,6 +121,7 @@ type
|
|||
servers*: seq[P2PServer]
|
||||
log*: string
|
||||
loggerFut*: Future[void]
|
||||
userData*: RootRef
|
||||
|
||||
PeerInfo* = object
|
||||
peer*: PeerID
|
||||
|
|
Loading…
Reference in New Issue