olahol / melody

:notes: Minimalist websocket framework for Go
BSD 2-Clause "Simplified" License
3.75k stars 366 forks source link

SSL support? #13

Closed gg2001 closed 7 years ago

gg2001 commented 8 years ago

Hi, I run a melody server on EC2 which uses websockets and I was wondering how I would add SSL support. Is it the same way you would SSL like in a golang http server like so:

http.ListenAndServeTLS(":8081", "cert.pem", "key.pem", nil)

Or do you use something different?

jontonsoup commented 6 years ago

@gg2001 did you figure this out? wss doesn't work /cc @olahol

gg2001 commented 6 years ago

No I didn't. I did not use SSL.