module
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: Feb 8, 2021
License: GPL-3.0
Opens a new window with license information.
README
¶
CVE
vulnerabilities aggregation service
sources
service dependencies
- Go compiler - project source codes
- Postgresql - data store and locks
CI/CD dependecies
- GNU make - cli unification
- docker - for standalone launch
- SQL migrations - bundled
HTTP API
internals
project structure
- Makefile - make definitions
- Dockerfile - build docker image
- docker-compose.yml - build infra dependencies and start service
- main/cve - entrypoint, reads configuration and starts app
- migrations - DB DDL statements
- internal/app - pp init
- internal/app/handlers - http handler sources
- internal/config - app config definition and validation
- internal/entity - DB layer abstrations and models
- internal/service - application layer main logic
- internal/service/update/source - cve sources api adapters
startup configuration params
param |
type |
default |
description |
http_addr |
cli |
0.0.0.0 |
addr for incoming http connections |
http_port |
cli |
80 |
port for incoming http connections |
log_level |
cli |
info |
logging level |
DB_CONN |
env |
docker-compose |
postgresql dsn |
Directories
¶
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main
|
|
|
|
Click to show internal directories.
Click to hide internal directories.