forked from Safecast/safestream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.go
50 lines (35 loc) · 1.36 KB
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright 2017 Inca Roads LLC. All rights reserved.
// Use of this source code is governed by licenses granted by the
// copyright holder including that found in the LICENSE file.
// Global configuration Parameters
package main
// Safecast public MQTT service params
const mqttServer = "tcp://m14.cloudmqtt.com:17506"
const mqttTopic = "device/#"
const mqttUsername = "zxskatjq"
const mqttPassword = "C0IVCvumIOSg"
// httpPortAlternate (here for golint)
// httpTopicMain0 (here for golint)
const httpTopicMain0 string = "/"
// httpTopicMain1 (here for golint)
const httpTopicMain1 string = "/index.html"
// httpTopicMain2 (here for golint)
const httpTopicMain2 string = "/index.htm"
// httpTopicPing (here for golint)
const httpTopicPing string = "/ping"
// httpTopicGithub (here for golint)
const httpTopicGithub string = "/github"
// httpTopicStream1 (here for golint)
const httpTopicStream1 string = "/stream"
// httpTopicStream2 (here for golint)
const httpTopicStream2 string = "/stream/"
// httpTopicUpload (here for golint)
const httpTopicUpload string = "/upload"
// filePathResources (here for golint)
const filePathResources string = "/resources/"
// filePathCollections relative to Home directory (here for golint)
const filePathCollections string = "/collections/"
// Our server address
var thisServerAddressIPv4 = ""
// Our server port
var thisServerPort = ":80"