module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 3, 2018
License: Apache-2.0
Opens a new window with license information.
README
¶
framework
framework provides abstractions to services used across multiple projects.
Services
- configurable standarizes the way to create configuration containers.
- database package provides access to SQL databases.
- queue provides access to message brokers.
Development
Run tests with:
go test -v ./...
Tests require the following services running:
docker run --name test-postgres -e POSTGRES_PASSWORD=testing -p 5432:5432 -e POSTGRES_USER=testing
docker run --hostname rabbit --name rabbit -p 8080:15672 -p 5672:5672 rabbitmq:3-management
They also need the etcd
binary present in PATH
.
License
Licensed under the terms of the Apache License Version 2.0. See the LICENSE
file for the full license text.
Directories
¶
Package configurable exposes methods for initializing configuration structs.
|
Package configurable exposes methods for initializing configuration structs. |
Package database provide structs and methods to create database connection configurations.
|
Package database provide structs and methods to create database connection configurations. |
Package lock provides implementations for cancellable and distributed locks.
|
Package lock provides implementations for cancellable and distributed locks. |
|
|
Click to show internal directories.
Click to hide internal directories.