- 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
24 lines
585 B
Go
24 lines
585 B
Go
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)}
|