toggles

module
v0.0.0-...-4db2772 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT

README

toggles

Toggles is a feature flags engine made in Go. Its default implementation uses MongoDB for disk storage and Redis for flag value cache management. It includes implementations as a REST API, WebSocket server, and CLI tool. There are also plans to build SDKs soon.

Configure

In this step you'll be able to configure the port where the service will run (APP_PORT) and the desired implementation (APP). The APP value should be a folder from cmd. Currently there's two options: api (rest api) and ws (websocket).

cp .env.example .env

Example env file:

APP=ws
APP_PORT=3000

Install

Using docker:

git clone https://github.com/MarkelCA/toggles
cd toggles
docker compose up --build

Directories

Path Synopsis
cmd
api
cli
ws
internal
pkg

Jump to

Keyboard shortcuts

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