new: splitted http.server and https.server in order to be able to use both from a single instance (closes #433)

This commit is contained in:
evilsocket 2019-02-05 11:15:08 +01:00
parent 402bf77a31
commit 23f340d8eb
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 178 additions and 65 deletions

View file

@ -52,6 +52,7 @@ func main() {
sess.Register(modules.NewHttpProxy(sess))
sess.Register(modules.NewHttpsProxy(sess))
sess.Register(modules.NewHttpServer(sess))
sess.Register(modules.NewHttpsServer(sess))
sess.Register(modules.NewRestAPI(sess))
sess.Register(modules.NewWOL(sess))
sess.Register(modules.NewWiFiModule(sess))