refactor: clean up code to pass go lint test
This commit is contained in:
@@ -3,16 +3,11 @@ 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 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
|
||||
const applicationJson = "application/json"
|
||||
const textPlain = "text/plain"
|
||||
const applicationXml = "application/xml"
|
||||
|
||||
// Round-robin counter
|
||||
var counter uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user