jwtgenerate

command
v1.13.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 10 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL