The code maintained in this repository is used by the Greenbone OpenSight Backend Components written in GoLang.
The following functionalities are provided:
- configReader - reads the configuration based on environment variables with predefined defaults
- dbcrypt - provides encryption / decryption for fields of entities persisted with GORM
- errorResponses - rest api models for errors
- jobQueue - a simple job queue
- notifications - a client to send notifications to the openSight Notification Service
- openSearch - a client and extension functions to query openSearch - suited for the query package
- postgres - provides utilities for building conditional queries for PostgreSQL databases
- query - provides basic selector and response objects for requests, including filter, paging and sorting
- retryableRequest - provides function to execute a http request with retries on failures
- slices - utility functions for slices
- testFolder - access to test data from the file system
This project is maintained by Greenbone AG
Your contributions are highly appreciated. Please create a pull request on GitHub. Bigger changes need to be discussed with the development team via the issues section at GitHub first.
Copyright (C) 2022-2023 Greenbone AG
Licensed under the GNU General Public License v3.0 or later.