eskalationszeit

module
v0.0.0-...-299512e Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0

README

Go Report Card

Eskalationszeit

Golang project for currency prices history persistence, targeting keep it using time ranges.

Time ranges accepted, in minutes:

1, 5, 15, 30, 60, 120, 720, 1440, 43800, 262800

Components

RESTApi server price generator
  • Answer random price for requested currency
  • No database connections
  • Optional, just need here to prove a point
  • location: /preisgenerator
Backgroung worker history builder
  • Invokes server price generator to get values operate
  • Persists price bases on 1 minute window
  • Process sequencial time windows using first currencies entry
  • Persists all data into Redis database.
  • location: /zeitarbeiter
RESTApi server price history provider
  • Answer history price for requested currency, according of time range
  • Reads prices data history from Redis database
  • location: /preisviewer
Execution
$ cd eskalationszeit/
$ ./start.sh
Development

Want to contribute? Great!

Todos
  • Write MORE Tests

License

MIT

This project is in full development and many things can change!

Directories

Path Synopsis
preisgenerator
restapi
Package restapi Go server price API This is the api POC
Package restapi Go server price API This is the api POC
preisviewer
zeitarbeiter

Jump to

Keyboard shortcuts

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