Giter Site home page Giter Site logo

centcli's People

Contributors

synw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

centcli's Issues

Not connecting to server

OS: Ubuntu 20.04.4 LTS (GNU/Linux 4.19.104-microsoft-standard x86_64)
Cnetrifugo Version: 4.0.1 (latest)

Cannot connect to Centrifugo server, errors

image

Some feedback

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.