https://github.com/greenbone/opensight-golang-libraries
A collection of reusable Golang code to provide functionality to OpenSight backend services
https://github.com/greenbone/opensight-golang-libraries
backend extended go opensight
Last synced: about 2 months ago
JSON representation
A collection of reusable Golang code to provide functionality to OpenSight backend services
- Host: GitHub
- URL: https://github.com/greenbone/opensight-golang-libraries
- Owner: greenbone
- License: gpl-3.0
- Created: 2023-11-23T08:39:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-10T13:02:01.000Z (4 months ago)
- Last Synced: 2026-02-10T17:20:31.299Z (4 months ago)
- Topics: backend, extended, go, opensight
- Language: Go
- Homepage:
- Size: 1.2 MB
- Stars: 3
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

# OpenSight GoLang libraries
[](https://codecov.io/gh/greenbone/opensight-golang-libraries)
[](https://github.com/greenbone/opensight-golang-libraries/releases)
## About
The code maintained in this repository is used by the Greenbone OpenSight Backend Components written in GoLang.
The following functionalities are provided:
* [configReader](pkg/configReader/README.md) - reads the configuration based on environment variables with predefined defaults
* [dbcrypt](pkg/dbcrypt/README.md) - provides encryption / decryption for fields of entities persisted with GORM
* [errorResponses](pkg/errorResponses/README.md) - rest api models for errors
* [jobQueue](pkg/jobQueue/README.md) - a simple job queue
* [notifications](pkg/notifications/README.md) - a client to send notifications to the openSight Notification Service
* [openSearch](pkg/openSearch/README.md) - a client and extension functions to query openSearch - suited for the [query](pkg/query/README.md) package
* [postgres](pkg/postgres/README.md) - provides utilities for building conditional queries for PostgreSQL databases
* [query](pkg/query/README.md) - provides basic selector and response objects for requests, including filter, paging and sorting
* [retryableRequest](pkg/retryableRequest/README.md) - provides function to execute a http request with retries on failures
* [secretfiles](pkg/secretfiles/README.md) - helps with accessing secrets stored in files
* [slices](pkg/slices/README.md) - utility functions for slices
* [testFolder](pkg/testFolder/README.md) - access to test data from the file system
* [logs](pkg/logs/README.md) - context-aware structured logging utilities based on zerolog.
## Maintainer
This project is maintained by [Greenbone AG][Greenbone AG]
## Contributing
Your contributions are highly appreciated. Please
[create a pull request](https://github.com/greenbone/opensight-golang-libraries/pulls)
on GitHub. Bigger changes need to be discussed with the development team via the
[issues section at GitHub](https://github.com/greenbone/opensight-golang-libraries/issues)
first.
## License
Copyright (C) 2022-2023 [Greenbone AG][Greenbone AG]
Licensed under the [GNU General Public License v3.0 or later](LICENSE).
[Greenbone AG]: https://www.greenbone.net/