summaryrefslogtreecommitdiffstats
path: root/golang/restapi/server.go
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-09 20:26:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-09 20:26:39 -0700
commit9e6cfdf9668157ec7ff566c670ce293b18d2bc83 (patch)
tree52c00b694b5ea63705f7608aa02eaf7ba3ec51d4 /golang/restapi/server.go
parentc28602eba84c8c5ecfd267187ff103bb5e9d2091 (diff)
downloadfatcat-9e6cfdf9668157ec7ff566c670ce293b18d2bc83.tar.gz
fatcat-9e6cfdf9668157ec7ff566c670ce293b18d2bc83.zip
basic sentry; middleware; clacks-overhead
Diffstat (limited to 'golang/restapi/server.go')
-rw-r--r--golang/restapi/server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/golang/restapi/server.go b/golang/restapi/server.go
index a11c94c6..6fb4f3b9 100644
--- a/golang/restapi/server.go
+++ b/golang/restapi/server.go
@@ -15,11 +15,11 @@ import (
"sync/atomic"
"time"
- log "github.com/sirupsen/logrus"
"github.com/go-openapi/runtime/flagext"
"github.com/go-openapi/swag"
flags "github.com/jessevdk/go-flags"
graceful "github.com/tylerb/graceful"
+ log "github.com/sirupsen/logrus" // manual hack for now (bnewbold)
"git.archive.org/bnewbold/fatcat/golang/restapi/operations"
)
@@ -35,7 +35,6 @@ var defaultSchemes []string
func init() {
defaultSchemes = []string{
schemeHTTP,
- schemeHTTPS,
}
}