Documentation ¶
Overview ¶
*
- Created by lock
- Date: 2019-10-06
- Time: 23:40
*
- Created by lock
- Date: 2019-10-06
- Time: 23:40
Index ¶
- func CheckAuth(c *gin.Context)
- func Count(c *gin.Context)
- 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)
- type FormCheckAuth
- type FormCount
- type FormLogin
- type FormLogout
- type FormPush
- type FormRegister
- type FormRoom
- type FormRoomInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoomInfo ¶
Types ¶
type FormCheckAuth ¶
type FormCheckAuth struct {
AuthToken string `form:"authToken" json:"authToken" binding:"required"`
}
type FormCount ¶
type FormCount struct {
RoomId int `form:"roomId" json:"roomId" binding:"required"`
}
type FormLogout ¶
type FormLogout struct {
AuthToken string `form:"authToken" json:"authToken" binding:"required"`
}
type FormRegister ¶
type FormRoomInfo ¶
type FormRoomInfo struct {
RoomId int `form:"roomId" json:"roomId" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.