1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-01 10:50:56 +00:00

implement addRange, add pprof to server

This commit is contained in:
Kane York 2016-01-17 16:50:17 -08:00
parent aca50d9de5
commit 1023b6ed11
6 changed files with 362 additions and 36 deletions

View file

@ -11,6 +11,8 @@ import (
"os"
)
import _ "net/http/pprof"
var configFilename = flag.String("config", "config.json", "Configuration file, including the keypairs for the NaCl crypto library, for communicating with the backend.")
var flagGenerateKeys = flag.Bool("genkeys", false, "Generate NaCl keys instead of serving requests.\nArguments: [int serverId] [base64 backendPublic]\nThe backend public key can either be specified in base64 on the command line, or put in the json file later.")