Created InitialSetup method that handles all steps required for starting the server for the first time

This commit is contained in:
Deluan committed 2020-01-20 15:17:43 -05:00
1 parent 398dfd04fc
commit 9e5ffaaff4
6 files changed
+108 -42

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package consts
import "time"
const (
InitialSetupFlagKey = "InitialSetupKey"
JWTSecretKey = "JWTSecretKey"
JWTIssuer = "CloudSonic"
JWTTokenExpiration = 30 * time.Minute
InitialUserName = "admin"
InitialName = "Admin"
)