config

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceAPIFunctionName = "panther-source-api"
)

Variables

View Source
var (
	Env            EnvConfig
	AwsSession     *session.Session
	FirehoseClient firehoseiface.FirehoseAPI
	LambdaClient   lambdaiface.LambdaAPI

	MaxRetries = 10
)

Functions

func Setup

func Setup()

Setup parses the environment and builds the AWS and http clients.

Types

type EnvConfig

type EnvConfig struct {
	StreamName string `required:"true" split_words:"true"`
}

Jump to

Keyboard shortcuts

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