configuration

package
v0.0.0-...-95e3415 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEnvironment = "Local"

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentConfiguration

type EnvironmentConfiguration struct {
	Host      string
	Port      string
	SqsPort   string
	SnsPort   string
	Region    string
	AccountID string
	LogToFile bool
	LogFile   string
	SNS       []TopicConfiguration
	SQS       SQS
}

type LocalAwsConfiguration

type LocalAwsConfiguration struct {
	Environments map[string]EnvironmentConfiguration
}

func (*LocalAwsConfiguration) Load

func (configuration *LocalAwsConfiguration) Load(fileName string, injector *dingo.Injector) error

type QueueAttributeConfiguration

type QueueAttributeConfiguration struct {
	VisibilityTimeout             int
	ReceiveMessageWaitTimeSeconds int
}

type QueueConfiguration

type QueueConfiguration struct {
	Name                          string
	ReceiveMessageWaitTimeSeconds int
}

type RandomLatencyConfiguration

type RandomLatencyConfiguration struct {
	Min int
	Max int
}

type SQS

type SQS struct {
	Queues                 []QueueConfiguration
	QueueAttributeDefaults QueueAttributeConfiguration
	RandomLatency          RandomLatencyConfiguration
}

type SubscriptionConfiguration

type SubscriptionConfiguration struct {
	Protocol     string
	EndPoint     string
	TopicArn     string
	QueueName    string
	Raw          bool
	FilterPolicy string
}

type TopicConfiguration

type TopicConfiguration struct {
	Name          string
	Subscriptions []SubscriptionConfiguration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL