genid

module
v0.0.0-...-97366e3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0

README

Instruction

A distributed id node

Build

git clone https://github.com/gwaypg/genid

cd genid
. env.sh
sup build all

Or

. env.sh
cd cmd/snowflake
go build # or sup build

Run

cd cmd/snowflake
./snowflake

Deployment

origin

cd genid
PRJ_ROOT=`pwd` ./cmd/snowflake/snowflake

supd

git clone https://github.com/gwaypg/supd
cd supd
. env.sh
cd cmd/supd
./publish.sh
./setup.sh install # uninstall: ./setup.sh clean 

cd genid
. env.sh
cd cmd/snowflake
sup install
sup status

TODO: more deployments

Directories

Path Synopsis
cmd
snowflake command
module
etc

Jump to

Keyboard shortcuts

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