lambda

command module
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 6 Imported by: 0

README

Actions Status CircleCI

Exchange Rate Collector

This package composes a data collector and exchange rate data source to fetch excjange rates and publish it to a SQS queue.

Config

This collector requires a config to get settings for an exchange rate api, AWS SQS and maybe some logging settings.

Example
log:
  loglevel: error
  shipper: logzio  

hdb:
  queue: MyWExchangeRateQueue
  archive: MyEventArchiveQueue

exchangerate:
  url: "https://api.frankfurter.app/latest"
  date_format: "2006-01-02"
  conversions:
    - from: "EUR"
      to: "USD"
    - from: "USD"
      to: "EUR"

aws:
  sqs:
    region: eu-west-1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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