ogbrest

command module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

README

ogbrest

Entry-point for service requests that will be forwarded to appropriate services within the cluster.

Connecting other services

Some services may not need to be accessible via REST API, but when they do - they must be configured. In rest-config.yaml you have to define all the microservices that will be exposed via REST API:

services:
- label: label to describe service 
  hostname: localhost
  port: 10001
  token: "random-token-for-the-service"

Token should match one defined in the target microservice. Example file contains configuration for every microservice present in OGB.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
proto module
restlib module

Jump to

Keyboard shortcuts

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