distribution-server

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 1 Imported by: 0

README

log-rush-distribution-server

A log distribution server implementing the log-rush datasource spec.

This service aims to be:

  • an entry into the log-rush ecosystem
  • an example implementation of the log-rush datsource spec
  • the source code, on whose top the docs get generated

Get Started

  1. Install Go 1.18 (for instructions see here)
  2. Clone this repository
    • ssh: git clone git@github.com:log-rush/distribution-server.git
    • https: git clone https://github.com/log-rush/distribution-server.git
    • github cli: gh repo clone log-rush/distribution-server
  3. Install dependencies: go mod download
  4. Build the binary: sh ./scripts/build.sh
  5. Run the binary ./log-rush-server (alt. using go run) go run ./app/main.go

A server will start on localhost:7000 with the swagger docs at http://localhost:7000/swagger/index.html

Generate Swagger Docs

Run sh ./scripts/swagger.sh

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
clients
common
config
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
log
logstream
pkg
app
lrp
subscriptions

Jump to

Keyboard shortcuts

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