Files
goma-gateway/internal/var.go

14 lines
633 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
2024-10-29 14:21:55 +01:00
const serverName = "Goma"
const gatewayName = "Goma Gateway"
const AccessMiddleware = "access" // access middleware
const BasicAuth = "basic" // basic authentication middleware
const JWTAuth = "jwt" // JWT authentication middleware
2024-11-07 09:45:09 +01:00
const OAuth = "oauth" // OAuth authentication middleware
2024-11-09 10:59:17 +01:00
// Round-robin counter
var counter uint32