项目文件夹

文件
copilot-swe-agent[bot] 6ad66e5a24
Run Tests / Unit Tests (push) Has been cancelled
Run Tests / Etcd Integration Tests (push) Has been cancelled
Add consistent explanatory notes across all documentation files
Co-authored-by: asim <17530+asim@users.noreply.github.com>
2026-01-29 08:52:06 +00:00

35 行
985 B
Markdown

---
layout: default
---
# Micro Server (Optional)
The Micro server is an optional API and dashboard that provides a fixed entrypoint for discovering and interacting with services. It is not required to build or run services; the examples in this documentation run services directly with `go run`.
## Install
Install the CLI which includes the server command:
```bash
go install go-micro.dev/v5/cmd/micro@v5.13.0
```
> **Note:** Use a specific version instead of `@latest` to avoid module path conflicts. See [releases](https://github.com/micro/go-micro/releases) for the latest version.
## Run
Start the server:
```bash
micro server
```
Then open http://localhost:8080 in your browser.
## When to use it
- Exploring registered services and endpoints
- Calling endpoints via a web UI or HTTP API
- Local development and debugging
Note: The server is evolving and configuration or features may change. For CLI usage details, see `cmd/micro/cli/README.md` in this repository.