Masterthesis
This commit is contained in:
parent
6de476260d
commit
a21bbcca0e
9 changed files with 140 additions and 211 deletions
|
@ -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()
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue