config.go (299B)
1 package main 2 3 import "jacobedwards.org/spaceplanner.app/internal/backend" 4 5 type Config struct { 6 JWT JWTConfig `json:"jwt" binding:"required"` 7 Backend backend.Config `json:"backend" binding:"required"` 8 } 9 10 type JWTConfig struct { 11 // JWT encryption key 12 Key string `json:"key" binding:"required"` 13 }