module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: MIT
Opens a new window with license information.
README
¶
go-exercises-backend

Installation
Prepare the directory:
$ mkdir --parents "$(go env GOPATH)/src/github.com/thewizardplusplus/"
$ cd "$(go env GOPATH)/src/github.com/thewizardplusplus/"
Clone this repository:
$ git clone https://github.com/thewizardplusplus/go-exercises-backend.git
$ cd go-exercises-backend
Install dependencies with the dep tool:
$ dep ensure -vendor-only
Build the project:
$ go install ./...
Usage
$ go-exercises-backend
Environment variables:
SERVER_ADDRESS — server URI (default: :8080);
STORAGE_ADDRESS — PostgreSQL connection URI (default: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable);
MESSAGE_BROKER_ADDRESS — RabbitMQ connection URI (default: amqp://rabbitmq:rabbitmq@localhost:5672);
SOLUTION_REGISTER_BUFFER_SIZE — solution registration channel capacity (default: 1000);
SOLUTION_REGISTER_CONCURRENCY — amount of solution registration threads (default: 1000).
API Description
API description in the format of a Postman collection: docs/postman_collection.json.
License
The MIT License (MIT)
Copyright © 2021 thewizardplusplus
Directories
¶
cmd
|
|
|
|
|
|
|
|
gateways
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.