package variables import ( "github.com/gorilla/sessions" ) const ( ProjectRoot string = "/home/tovi/go/src/git.tovijaeschke.xyz/tovi/personal_website" DbHost string = "localhost" DbPort int = 5432 DbName string = "personal-website" DbUser string = "postgres" DbPass string = "4nt1natalist" DbOpts string = "sslmode=disable" WebserverHost string = ":8080" AdminUsername string = "tovi" // Generate password with bcrypt.GenerateFromPassword(password, bcrypt.MinCost) AdminPassword string = "$2a$04$Q.FgFAfUfqezReI3JyStD.VP8KdjB6UXc8s.PgTgflLG/2yFq.4Hi" ) var ( DefaultSidebarLinks = map[string]string{ "Email": "mailto:tovi@strng.io", } CookieKey = []byte("super-secret-key") CookieStore = sessions.NewCookieStore(CookieKey) CookieName string = "tovi-blog-auth" )