1.0.0 • Published 4 years ago

@highorbit/sqs-service v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

SQS package to be used across multiple services

This package exports two functions

  1. initializeSqs - This function takes in a config object with three keys required. -> (accessKey, secretKey, awsRegion) It returns an instance of SQS. Example:
const sqs = initializeSqs({<AccessKey>, <SecretKey>, <Region>});
  1. setLogInSqs - This function takes in the following parameters -> (info, data, serviceName, sqs, queueUrl)