centrifugal / protocol Goto Github PK
View Code? Open in Web Editor NEWCentrifuge client-server protocol definitions
License: MIT License
Centrifuge client-server protocol definitions
License: MIT License
Since there is no license file, go.dev (link to the project page) does not display documentation for this repo. Due to the soon shutdown of godoc.org and to get rid of the uncertainty of the legal status of users of this module, I suggest adding a license file ( MIT? 🙂)
message Reply {
// Id will only be set to a value > 0 for replies to commands. For pushes
// it will have zero value.
uint32 id = 1;
// Error can only be set in replies to commands. For pushes it will have zero value.
Error error = 2;
reserved 3;
// ProtocolVersion2 server can send one of the following fields. We are not using
// oneof here due to JSON interoperability concerns.
Push push = 4;
ConnectResult connect = 5;
SubscribeResult subscribe = 6;
UnsubscribeResult unsubscribe = 7;
PublishResult publish = 8;
PresenceResult presence = 9;
PresenceStatsResult presence_stats = 10;
HistoryResult history = 11;
optional PingResult ping = 12;
RPCResult rpc = 13;
RefreshResult refresh = 14;
SubRefreshResult sub_refresh = 15;
}
You deleted error.go in your last commit and it has broken any builds of the centrifuge-go package
https://github.com/centrifugal/protocol/blob/40a1cf0b7a8256c9d48b56376683c983a60728b9/error.go
See the related issue I raised here:
centrifugal/centrifuge-go#47
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.