easynode

command
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT, MIT Imports: 22 Imported by: 0

README

集成 collect,blockchain,task,task_api,store等服务到一个application, 该app拥有easynode全部功能模块

Prerequisites

  • go version >=1.20

Building the source

(以linux系统为例)

  • mkdir easynode & cd easynode
  • git clone https://github.com/0xcregis/easynode.git
  • cd easynode/cmd/easynode
  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o easynode app.go (mac下编译linux程序为例,其他交叉编译的命令请自行搜索)
  • ./easynode

config.json 详解

  • blockchain_config.json

    请参考blockchain

  • collect_config.json

    请参考collect

  • store_config.json

    请参考store

  • task_config.json

    请参考task

  • taskapi_config.json

    请参考taskapi

run command

./easynode [OPTIONS]

-collect_config  string  config path of collect server

-task_config  string  config path of task server

-blockchain_config  string  config path of blockchain server

-taskapi_config  string  config path of taskapi server

-taskapi_config  string  config path of taskapi server

-store_config  string  config path of store server

usages

  • blockchain 服务的使用

    请参考 blockchain

  • collect 服务的使用

    请参考 collect

  • task 服务的使用

    请参考 task

  • taskapi 服务的使用

    请参考 taskapi

  • store 服务的使用

    请参考 store

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