chore: initial import from sless/shared-sqs (v0.1.14)
- Standalone SQS-service repository - Multi-tenant message queue service, AWS SQS compatible - Based on GoAws, with mutable tenants, auth, WebUI, Redis persistence - Ready for independent development and deployment - See doc/ and README.md for architecture and usage
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
// CurrentEnvironment should get overwritten when the app starts up and loads the config. For the
|
||||
// sake of generating "partial" apps piece-meal during test automation we'll slap these placeholder
|
||||
// values in here so the resource URLs aren't wonky like `http://://new-queue`.
|
||||
var CurrentEnvironment = Environment{
|
||||
Host: "host",
|
||||
Port: "port",
|
||||
Region: "region",
|
||||
AccountID: "accountID",
|
||||
}
|
||||
|
||||
var LogMessages bool
|
||||
var LogFile string
|
||||
|
||||
var SyncQueues = struct {
|
||||
sync.RWMutex
|
||||
Queues map[string]*Queue
|
||||
}{Queues: make(map[string]*Queue)}
|
||||
Reference in New Issue
Block a user