-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.config.go.travis
21 lines (19 loc) · 1.02 KB
/
.config.go.travis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package main
const (
// You can leave these
version = 0 // Defines the websocket protocol version
debug = true // Set to false to turn off logging every API request.
allowAllUsers = true // If true then all users who auth can access the server, false admin must verify
sessionName = "wearscript"
scopes = "https://www.googleapis.com/auth/glass.timeline " +
"https://www.googleapis.com/auth/glass.location " +
"https://www.googleapis.com/auth/userinfo.profile"
ravenDSN = "" // Leave blank unless you are using Raven/Sentry for logging
// You need to fill in the rest
secret = "@9'fSt^(`a}a7f" // Make it a random string
// Server info
fullUrl = "http://localhost:8080" // Url to the server (e.g., https://example.com) for mirror api
wsUrl = "ws://localhost:8080" // Url websocket clients use (e.g., wss://example.com or ws://example.com)
redisServerPort = "localhost:6379" // Fill in with your host:port
servePort = "8080" // Fill in with the port you want to host on
)