controllers

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientRegister

func ClientRegister(c *gin.Context)

客户端注册,推送请求

func Cors

func Cors() gin.HandlerFunc

func TaskHandle

func TaskHandle(c *gin.Context)

接收客户端任务请求处理

func TokenCreate added in v1.0.2

func TokenCreate(cInfo jwt.LoginInfo, reqUrl string) (token string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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