Discover Packages
github.com/aau-network-security/gollector
app
cache
command
Version:
v0.0.0-...-1cf6f39
Opens a new window with list of versions in this module.
Published: Aug 27, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Cache
Acts as a caching layer between the collectors and the underlying PostgreSQL database.
It internally caches all values in the database and efficiently inserts new entries in the relational database under different tables.
Run
Compile and run with golang:
go run app/cache/*.go --config config/cache.yml
Build and run as follows
$ docker build -t cache -f app/cache/Dockerfile .
$ docker run -d \
--name gollector-cache \
-v config:/config \
cache --config /config/cache.yml
```
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.