Skip to content
Snippets Groups Projects
Verified Commit 98adb543 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

documentation

parent 16566494
No related branches found
No related tags found
No related merge requests found
## Configuration ## Configuration
## Installation
```shell
go get gitlab.schukai.com/oss/libraries/go/application/configuration
```
**Note:** This library uses [Go Modules](https://github.com/golang/go/wiki/Modules) to manage dependencies.
## What do this library? ## What do this library?
This library provides a simple way to load configuration from different sources. This library provides a simple way to load configuration from different sources.
...@@ -23,6 +15,15 @@ It supports: ...@@ -23,6 +15,15 @@ It supports:
* [x] Properties * [x] Properties
* [x] Configuration from a struct * [x] Configuration from a struct
* [x] HTTP API (get and set configuration) * [x] HTTP API (get and set configuration)
* [x] Monitor File changes
## Installation
```shell
go get gitlab.schukai.com/oss/libraries/go/application/configuration
```
**Note:** This library uses [Go Modules](https://github.com/golang/go/wiki/Modules) to manage dependencies.
## Usage ## Usage
...@@ -228,9 +229,6 @@ returns a bool channel on which the status of the watch is reported. ...@@ -228,9 +229,6 @@ returns a bool channel on which the status of the watch is reported.
If the watch has ended, a true is sent over the channel. If an error occurs, a false is sent. If the watch has ended, a true is sent over the channel. If an error occurs, a false is sent.
```go
#### Streams #### Streams
The configuration can also be loaded from a stream. This is useful if you want to The configuration can also be loaded from a stream. This is useful if you want to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment