refactor: Restructure project files for better organization, readability, and maintainability
This commit is contained in:
10
internal/var.go
Normal file
10
internal/var.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package pkg
|
||||
|
||||
const ConfigFile = "/config/goma.yml" // Default configuration file
|
||||
const accessControlAllowOrigin = "Access-Control-Allow-Origin" // Cors
|
||||
const serverName = "Goma"
|
||||
const gatewayName = "Goma Gateway"
|
||||
const AccessMiddleware = "access" // access middleware
|
||||
const BasicAuth = "basic" // basic authentication middleware
|
||||
const JWTAuth = "jwt" // JWT authentication middleware
|
||||
const OAuth = "OAuth" // OAuth authentication middleware
|
||||
Reference in New Issue
Block a user