Documentation ¶
Index ¶
- func DelToke(tokenString string) error
- func DelTokenCtx(ctx context.Context, app, device, id string) error
- func GenToken(id, app, name, kind, username, device string, duration time.Duration) (string, error)
- func GenTokenCtx(ctx context.Context, id, app, name, kind, username, device string, ...) (string, error)
- func GetClient(r *http.Request) Json
- func TokenKey(app, device, id string) string
- type Claim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTokenCtx ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.