micro--go-micro
ee76eb6d2c
Major Features: - Unified gateway architecture (micro run + micro server use same code) - MCP (Model Context Protocol) integration as library package - AI-accessible microservices with 3 lines of code Gateway Unification: - Created reusable gateway module (cmd/micro/server/gateway.go) - Updated micro run to use unified gateway (removed duplicate code) - Conditional authentication (disabled in dev, required in prod) - Reduced code duplication, simplified maintenance MCP Integration: - New library package: gateway/mcp - Automatic service discovery → MCP tools - HTTP/SSE transport support (stdio coming soon) - Works for both library users and CLI users - CLI flags: --mcp-address for micro run and micro server Documentation: - ADR-010: Unified Gateway Architecture - CLI & Gateway Guide for users - MCP Gateway README and examples - Blog post: Making Your Microservices AI-Native with MCP Breaking Changes: None (fully backward compatible) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
54 行
630 B
Plaintext
54 行
630 B
Plaintext
# Develop tools
|
|
/.idea/
|
|
/.trunk
|
|
|
|
# VS Code workspace files (keep settings for consistency)
|
|
/.vscode/*
|
|
!/.vscode/settings.json
|
|
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
_build
|
|
|
|
# Architecture specific extensions/prefixes
|
|
*.[568vq]
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
# Test binary, build with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
coverage.html
|
|
|
|
# vim temp files
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
|
|
# go work files
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Build artifacts
|
|
dist/
|
|
bin/
|
|
|
|
# IDE-specific files
|
|
.DS_Store
|
|
micro
|