Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daqnext/meson-terminal
🐢 meson network terminal
https://github.com/daqnext/meson-terminal
bandwidth blockchain cloud dcdn meson network p2p terminal web3
Last synced: 3 months ago
JSON representation
🐢 meson network terminal
- Host: GitHub
- URL: https://github.com/daqnext/meson-terminal
- Owner: daqnext
- License: mit
- Created: 2020-11-21T02:46:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T08:25:43.000Z (over 1 year ago)
- Last Synced: 2024-05-01T08:32:11.842Z (6 months ago)
- Topics: bandwidth, blockchain, cloud, dcdn, meson, network, p2p, terminal, web3
- Language: Go
- Homepage:
- Size: 15.7 MB
- Stars: 37
- Watchers: 8
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-peer
# How to use
#### 1."default_" application:
##### default_ is the main program
#### 1.1 run default program with {config_name}
##### ```go run . --conf={config_name}``` // will use the {config_name}.toml inside configs folder
##### ```go run .``` // just use defalut.toml
#### 2."config" application:
##### config is the program used to show or set config file
#### 2.1 set config
##### ```go run . --conf={config_name} config set ...```
##### ```go run . config set ...``` //using default.toml
#### 3. log
#### 3.1 show all logs
##### ```go run . log```
#### 3.2 only show error logs : [error,panic,fatal]
##### ```go run . log --only_err=true```
#### 4. "api" application:
##### 4.1 generate the api documents
##### ```go run . gen_api```
## Running process
```
1.entry -> main.go
2.basic logger is initialized
3.cmd/cmd.go ->ConfigCmd() is called
4.read the related config file
5.--> go to cmd application "config"|"default_"|"log"
```## build
```
./auto-build.sh
```