README ¶ jwtgenerate only support RSA256 Install $ go get -u github.com/syhlion/gusher.cluster/test/jwtgenerate Usage Crypto method use RSA256 $ ./jwtgenerate gen --private-key private.pem --payload "{\"gusher\":{\"user_id\":\"Test_User\",\"channels\":[\"AA\",\"BB\"],\"app_key\":\"TEST\"}}" --payload has default default value { "gusher":{ "user_id":"Test_User", "channesl":["AA","BB"], "app_key":"TEST" } } Other help $ ./conn-test -h Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files jwtgenerate.go Click to show internal directories. Click to hide internal directories.