https://github.com/smallnest/rpcx-ui
rpcx manager web ui
https://github.com/smallnest/rpcx-ui
Last synced: 4 months ago
JSON representation
rpcx manager web ui
- Host: GitHub
- URL: https://github.com/smallnest/rpcx-ui
- Owner: smallnest
- Created: 2016-09-08T01:52:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T09:03:37.000Z (over 4 years ago)
- Last Synced: 2024-12-17T08:45:30.654Z (4 months ago)
- Language: Go
- Homepage:
- Size: 7.52 MB
- Stars: 217
- Watchers: 20
- Forks: 60
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpcx-ui
rpcx-ui is web gui for rpcx. It provides services management.


## Configuration
There are two config templates in this repository:- **config.json**: etcd config templates for etcd registry
- **config_zk.json**: zookeeper config templates for zookeeper registryCurrently rpcx-ui only supports etcd and zookeeper registries. There is no GUI support for consul registry.
If you want to use zookeeper registry, replace config.json with config_zk.json.
```json
{
"registry_type": "zookeeper",
"registry_url": "localhost:2181",
"service_base_url":"/rpcx",
"host": "0.0.0.0",
"port": 8972,
"user": "admin",
"password": "admin"
}
```As you see, you need set zookeeper url and services base path.
`host` and `port` is used by rpcx-ui and I support you set host to "127.0.0.1" for security consideration.`user` and `password` has not been used in current code but I want to add it in future, because **the setting must be operated by administrators**.
## Running
You can run `go build -o rpcx-ui *.go` to create the executable file: `rpcx-ui`.
Put `rpcx-ui`、`config.json`、`web`、`templates` in a directory, for example, `/opt/rpcx-ui`,
and then run `./rpcx-ui` to start this http server.You can visit `http://localhost:8972/` to visit this GUI.