]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/node.go
Ability to configure online deadline timeout
[nncp.git] / src / cypherpunks.ru / nncp / node.go
index 8b3a012732cdea009e647511faa0921eaa2caf2d..5edd5ead8554817565792bcb22a7c690d8560e85 100644 (file)
@@ -35,16 +35,17 @@ func (id NodeId) String() string {
 }
 
 type Node struct {
-       Name     string
-       Id       *NodeId
-       ExchPub  *[32]byte
-       SignPub  ed25519.PublicKey
-       NoisePub *[32]byte
-       Sendmail []string
-       Incoming *string
-       Freq     *string
-       Via      []*NodeId
-       Addrs    map[string]string
+       Name           string
+       Id             *NodeId
+       ExchPub        *[32]byte
+       SignPub        ed25519.PublicKey
+       NoisePub       *[32]byte
+       Sendmail       []string
+       Incoming       *string
+       Freq           *string
+       Via            []*NodeId
+       Addrs          map[string]string
+       OnlineDeadline int
 }
 
 type NodeOur struct {