synw / centcli Goto Github PK
View Code? Open in Web Editor NEWTerminal client for Centrifugo
License: MIT License
Terminal client for Centrifugo
License: MIT License
Hello, thanks for an interesting tool!
First about config. Do you think that current format is handy, for me it would be much simpler to see sth like:
{
"nodes": [
{
"name": "local",
"host":"localhost",
"port":8001,
"secret":"secret_key"
},
{
"name": "local2",
"host":"localhost",
"port":8002,
"secret":"secret_key"
}
]
}
I.e. a bit shorter and using Centrifugo terminology?
This parsing is a bit more complex then needed - you can look how we parse namespaces key in Centrifugo.
Also I noticed that when listening channel you use user with ID cli
- so in this moment that user will be a general user in channel and calling presence will return it in response. Unfortunately I don't know a better way - there is no concept of system users in Centrifugo...
When showing stats you could sort them alphabetically.
Also as our go
client can change soon - you better to vendor dependencies, as centcli
is an executable it's a convenient practice for Go.
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.