-
Notifications
You must be signed in to change notification settings - Fork 6
/
ws.go
20 lines (15 loc) · 858 Bytes
/
ws.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package config
var UseFCGI bool
var Port int = 8000
var TLSPort int = 0 // This will require ssl certificates. The default has this turned off.
// You will need to put in the path to your certfile and keyfile below.
// The default implementation only uses these for the release build.
var TLSCertFile = ""
var TLSKeyFile = ""
var WebSocketPort int = 8100 // Default can be reset later, or via command line, but before the application starts. Set to zero to turn it off.
var WebSocketTLSPort int = 0 // This will require ssl certificates. The default has this turned off.
// You will need to put in the path to your certfile and keyfile below.
// The default implementation only uses these for the release build.
// You can use the same ones that you use for normal SSL communication over http.
var WebSocketTLSCertFile = ""
var WebSocketTLSKeyFile = ""