relayproxy

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Semaphore relay proxy

The relay proxy loads your feature flag configuration (from a file, an HTTP endpoint, a git provider, a bucket, a database, ...) and exposes HTTP APIs to evaluate your flags. It speaks OFREP (OpenFeature Remote Evaluation Protocol), so applications can use the standard OpenFeature SDKs.

When should I use the relay proxy?

  • You want to access your flags through an API instead of the Go module.
  • Your application is not written in Go.
  • You want to centralize the access to your flag configuration.

Quick start

make build-relayproxy        # from the repository root; binary: out/bin/semaphore
./out/bin/semaphore --config=/path/to/semaphore-proxy.yaml

If --config is not provided, the relay proxy looks for a file named semaphore-proxy.yaml in the current folder, /semaphore/ and /etc/opt/semaphore/.

Documentation:

Container image

make build-relayproxy-docker builds a local image from source. Released images are published as ghcr.io/blackbirdworks/semaphore (after the first release, see Releasing).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
handler

Jump to

Keyboard shortcuts

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