framework

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2018 License: Apache-2.0

README

framework Build Status codecov.io

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:

  • PostgreSQL
docker run --name test-postgres -e POSTGRES_PASSWORD=testing -p 5432:5432 -e POSTGRES_USER=testing
  • RabbitMQ
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

Path Synopsis
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL