Files
goma-gateway/internal/var.go

15 lines
632 B
Go
Raw Normal View History

2024-10-27 06:10:27 +01:00
package pkg
const ConfigDir = "/etc/goma/" // Default configuration file
2024-11-07 15:42:11 +01:00
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
2024-11-09 10:59:17 +01:00
// Round-robin counter
var counter uint32
2024-11-12 12:38:34 +01:00
2024-11-12 14:31:18 +01:00
var Routes *[]Route