-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.go
More file actions
37 lines (28 loc) · 985 Bytes
/
Copy pathconfig.example.go
File metadata and controls
37 lines (28 loc) · 985 Bytes
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
package main
/*
// RENAME THIS FILE TO config.go AND UNCOMMENT ALL CODE IN THIS FILE WHEN YOU
// BUILD THE APPLICATION IT HAS BEEN GIT IGNORED TO HIDE ANY SERVER
// DETAIL CONSTANT SUCH AS IP'S AND PORTS
const DEBUG = true
const WIKI_BASE_URL string = "http://wiki.project1999.com"
// Wiki service to forward requests for saving item data
const WIKI_SERVICE_HOST = "localhost"
const WIKI_SERVICE_PORT = "8081"
const GATEKEEPER_SERVICE_HOST = "localhost"
const GATEKEEPER_SERVICE_PORT = "8085"
const RELAY_SERVICE_HOST = "localhost"
const RELAY_SERVICE_PORT = "3000"
// SQL DB Config
const SQL_HOST = "";
const SQL_PORT = "";
const SQL_USER = "";
const SQL_PASS = "";
const SQL_DB = ""
const MAX_CONNECTIONS = 20
const PORT = "8080"
// Memcached Config
const MC_HOST = "";
const MC_PORT = "";
const CACHE_TIME_IN_SECS = 60 * 60 * 3 // Prevents other loggers from sending the same/old log data, this lane lives in cache for 3 hours
const SALE_CACHE_TIME_IN_SECS = 60 * 30
*/