Documentation ¶
Index ¶
- Variables
- func CheckAuth(c *gin.Context)
- func CheckToken() gin.HandlerFunc
- func Count(c *gin.Context)
- func FailResponse(c *gin.Context, err error)
- func GetRoomInfo(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Push(c *gin.Context)
- func PushRoom(c *gin.Context)
- func Register(c *gin.Context)
- func SuccessResponse(c *gin.Context, data interface{})
- type FormRegister
- type ResponseData
Constants ¶
This section is empty.
Variables ¶
View Source
var RPCctx = context.Background()
用于 rpc 请求的 ctx
Functions ¶
func CheckToken ¶
func CheckToken() gin.HandlerFunc
func FailResponse ¶
func GetRoomInfo ¶
func SuccessResponse ¶
Types ¶
type FormRegister ¶
type ResponseData ¶
Click to show internal directories.
Click to hide internal directories.