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: ? 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

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
⌂ 换网址