Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *sql.DB ARRTable = os.Getenv("ARRTable") ARTable = os.Getenv("ARTable") // variables that are settable from outside routines: // SetMaxIdleConns maximum number of idle connections to DB SetMaxIdleConns = 4 // SetMaxOpenConns maximum number of open connections to DB SetMaxOpenConns = 16 AppName string DBreporting *runner.DB SessionReady = false Sess *session.Session SvcSNS *sns.SNS SvcLambda *lambda.Lambda SnsRegion = fmRegionUSEastOne LambdaRegion = fmRegionUSEastOne DreTable = "dmarc_reporting_entries" RecordChunk = 10000 AwsConfig = aws.Config{ Credentials: credentials.NewChainCredentials( []credentials.Provider{ &credentials.EnvProvider{}, &ec2rolecreds.EC2RoleProvider{ ExpiryWindow: 5 * time.Minute, }, }, ), } )
Functions ¶
func GetReportingDB ¶
func GetTheRunner ¶
func InitDBRunner ¶
Types ¶
type DBConnectInfo ¶
type DBConnectInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.