Handling request validation/authentication

This commit is contained in:
Deluan
2016-02-24 18:06:49 -05:00
parent 9a55fa1c64
commit 975327a6cb
14 changed files with 220 additions and 14 deletions
+17 -8
View File
@@ -1,12 +1,21 @@
appname = github.com/deluan/gosonic
httpport = 8080
runmode = dev
autorender = false
copyrequestbody = true
httpPort = 8080
runMode = dev
autoRender = false
copyRequestBody = true
apiversion = 1.0.0
musicfolder=.
apiVersion = 1.0.0
musicFolder=.
user=deluan
password=wordpass
[dev]
enableadmin = true
indexpath = ./gosonic.index
disableValidation = true
enableAdmin = true
indexPath = ./gosonic.index
[test]
disableValidation = false
enableAdmin = false
user=deluan
password=wordpass