Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 351 Bytes
package ironmq
type Cloud struct {
scheme string
host string
}
func NewCloud(scheme, host string) *Cloud {
return &Cloud{scheme, host}
}
var (
IronAWSUSEast = NewCloud("https", "mq-aws-us-east-1.iron.io")
IronRackspaceDFW = NewCloud("https", "mq-rackspace-dfw.iron.io")
IronRackspaceORD = NewCloud("https", "mq-rackspace-ord.iron.io")
)