package
module
Version:
v1.5.2
Opens a new window with list of versions in this module.
Published: Feb 27, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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_STATIC_FILE_PATH — path to static files (default: ./static);
- addresses:
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 registration:
SOLUTION_REGISTER_BUFFER_SIZE — solution registration channel capacity (default: 1000);
SOLUTION_REGISTER_CONCURRENCY — amount of solution registration threads (default: 1000);
- authorization:
AUTHORIZATION_TOKEN_SIGNING_KEY — authorization token signing key (is generated automatically if empty; default: empty);
AUTHORIZATION_TOKEN_TTL — authorization token TTL (default: 24h).
API Description
API description:
License
The MIT License (MIT)
Copyright © 2021-2022 thewizardplusplus
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
|
|
|
|
|
gateways
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.