Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)

# OpenSight GoLang libraries

[![GitHub releases](https://img.shields.io/github/release/greenbone/opensight-golang-libraries.svg)](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
* [slices](pkg/slices/README.md) - utility functions for slices
* [testFolder](pkg/testFolder/README.md) - access to test data from the file system

## 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/