-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.go.example
More file actions
18 lines (16 loc) · 876 Bytes
/
Copy pathconfig.go.example
File metadata and controls
18 lines (16 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main
/*
Heres the config, put your stuff in the quotations and everyone will be happy, OK?
Make a copy of this into config.go and check differences in every commit
*/
const (
urlPrefix = "/" //Must be atleast a "/" AND end with a "/"
defaultImg = "/home/gido5731/work/imgsrvr/testingpics/Graphic1-50.jpg" // not actually in use right now dont bother with this
imgHash = 6
sqlAcc = "" // MySQL user/password stored as user:pass
imgStore = "/var/tmp/imgStorage/"
baseURL = "http://localhost" //MUST INCLUDE HTTP/HTTPS, this should really be calles hostname...
recaptchaPrivKey = "google captcha priv key" // RECAPTCHA v2
recaptchaPubKey = "google captcha pub key"
loggingLevel = 2 // 0 is panics only, 1 is errors, 2 is info, 3 is debug, 4 is trace
)