polarismesh / specification Goto Github PK
View Code? Open in Web Editor NEWService Governance Specification
Service Governance Specification
对应 http 协议。
规范定义从整体来看分为两部分 Paths 和 Components
看起来主要对应 grpc 协议
规范定义从整体来看分为两部分 Paths 和 Components
现有服务契约的定义与RPC协议深度绑定,原因也很简单,得有协议相关的完整信息才方便进行处理。
如果只做服务信息的展示,可以抽象出几个通用的概念:
ServiceContract
- InterfaceDescriptor // 一个服务里有多个接口
- MethodDescriptor // 一个接口里有多个方法,其中包含输入输出参数类型
- TypeDescriptor // 参数的类型定义
refactor build.rs for proto gen rust code
update rust lib.rs and v1.rs
https://github.com/polarismesh/polaris-go/blob/v1.5.1/go.mod
github.com/polarismesh/[email protected]: reading github.com/polarismesh/specification/go.mod at revision v1.3.2-alpha.2: unknown revision v1.3.2-alpha.2
polarismesh/specification 安装失败
go clean -modcache && go mod tidy
提示:
github.com/polarismesh/specification/source/go/api/v1/model: github.com/polarismesh/[email protected]: verifying module: checksum mismatch
downloaded: h1:Rh+Ayz1L2b43CQx+KaBBGgaqMHJ+grrovPRSqA967ZI=
sum.golang.org: h1:fm7sUtFZC2g9+lLmRCtjGrUow47CY5JDFoZXwwCQGGY=
SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.