Files
goma-gateway/internal/var.go
Jonas Kaninda f1af5c3ce6 refactor: refactoring of code
Add graceful shutdown server
2024-11-15 14:25:50 +01:00

15 lines
632 B
Go

package pkg
const ConfigDir = "/etc/goma/" // Default configuration file
const ConfigFile = "/etc/goma/goma.yml" // Default configuration file
const accessControlAllowOrigin = "Access-Control-Allow-Origin" // Cors
const gatewayName = "Goma Gateway"
const AccessMiddleware = "access" // access middlewares
const BasicAuth = "basic" // basic authentication middlewares
const JWTAuth = "jwt" // JWT authentication middlewares
const OAuth = "oauth" // OAuth authentication middlewares
// Round-robin counter
var counter uint32
var Routes *[]Route