X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fnncp%2Fnode.go;h=1ea490309ff45b2146d3e6b22b0317d6b222508e;hb=b4c6e5230f3bec679ceb9ca4207da08f7e9c53aa;hp=1e1b5bab3b3e96da17bd4aad8784f188707b348e;hpb=919345b4dbaba2fc8f543efb8e0ec99330a775fc;p=nncp.git diff --git a/src/cypherpunks.ru/nncp/node.go b/src/cypherpunks.ru/nncp/node.go index 1e1b5ba..1ea4903 100644 --- a/src/cypherpunks.ru/nncp/node.go +++ b/src/cypherpunks.ru/nncp/node.go @@ -45,9 +45,12 @@ type Node struct { Sendmail []string Incoming *string Freq *string + FreqChunked int64 + FreqMinSize int64 Via []*NodeId Addrs map[string]string - OnlineDeadline int + OnlineDeadline uint + MaxOnlineTime uint Calls []*Call Busy bool @@ -67,9 +70,10 @@ type NodeOur struct { type Call struct { Cron *cronexpr.Expression Nice uint8 - Xx *TRxTx + Xx TRxTx Addr *string - OnlineDeadline int + OnlineDeadline uint + MaxOnlineTime uint } func NewNodeGenerate() (*NodeOur, error) {