Add stats package and node related statistics model

This commit is contained in:
Audrius Butkevicius
2014-08-21 23:45:40 +01:00
parent eee702f299
commit 0cdb0daa8c
6 changed files with 156 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ package main
import (
"bytes"
"crypto/tls"
"encoding/base64"
"encoding/json"
"fmt"
@@ -24,7 +25,6 @@ import (
"sync"
"time"
"crypto/tls"
"code.google.com/p/go.crypto/bcrypt"
"github.com/syncthing/syncthing/auto"
"github.com/syncthing/syncthing/config"

View File

@@ -125,6 +125,7 @@ The following enviroment variables are interpreted by syncthing:
- "net" (the main package; connections & network messages)
- "model" (the model package)
- "scanner" (the scanner package)
- "stats" (the stats package)
- "upnp" (the upnp package)
- "xdr" (the xdr package)
- "all" (all of the above)