config

package
v0.0.0-...-3bfe2f6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsoleExec = "console"
	Demo        = "demo"

	// Env variable names
	Env     = "ENV"
	Verbose = "VERBOSE"

	// flags
	EnvFlag     = "environment"
	VerboseFlag = "verbose"

	// shortcut
	EnvShortcut     = "e"
	VerboseShortcut = "v"

	// flag description
	EnvDescription      = "Environment, you can set via ENV"
	UnSecureDescription = "Show or hide log data on the stdout"

	// Emails
	Email      = "email"
	EmailQueue = "email"
	EmailShort = "consume sqs queue email"
)

Variables

This section is empty.

Functions

func GetQueueUrl

func GetQueueUrl(queueName string) string

func GetSQSClient

func GetSQSClient() *sqs.SQS

func GetSession

func GetSession() *session.Session

func Listen

func Listen(handler func(m *mq.Message) error, queueUrl string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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