bl-demo

command
v0.0.0-...-0a36b5b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 16 Imported by: 0

README

Written by Sumanta Bose, 12 Nov 2018

Current Version : 01-bl-demo.go

Run : go run 01-bl-demo.go

MUX server methods available are:

  • http://localhost:port/
  • http://localhost:port/info
  • http://localhost:port/info/{status}/{member}
  • http://localhost:port/add
  • http://localhost:port/add/{loop}
  • http://localhost:port/move/{serial}
  • http://localhost:port/post

FLAGS are:

-bldata string : pathname of BL data storage directory (default "bldata")

-members int : total number of members in the BL supply chain (default 5) // 4 + 1

-port int : mux server listen port (default 8080)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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