Masterthesis

This commit is contained in:
hoernschen 2020-11-27 05:46:17 +01:00
parent 6de476260d
commit a21bbcca0e
9 changed files with 140 additions and 211 deletions

View file

@ -23,8 +23,6 @@ var Signing bool
var Encryption bool
var HttpString string
//var BackoffPolicy *backoff.Exponential
func SetDefaultParams() {
Packetloss = 0.0
UnavailableTill = time.Now().Unix()

View file

@ -49,13 +49,6 @@ func SetParams(w http.ResponseWriter, r *http.Request) {
func Reset(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
/*
if err := device.InitServerSigningKey(); err != nil {
log.Fatal(err)
}
config.VerifyKeys = make(map[string]map[string][]byte)
*/
database.DB.Close()
os.Remove("sqlite.db")