MCPcopy Create free account
hub / github.com/LockGit/gochat / FormPush

Struct FormPush

api/handler/push.go:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16)
17
18type FormPush struct {
19 Msg string `form:"msg" json:"msg" binding:"required"`
20 ToUserId string `form:"toUserId" json:"toUserId" binding:"required"`
21 RoomId int `form:"roomId" json:"roomId" binding:"required"`
22 AuthToken string `form:"authToken" json:"authToken" binding:"required"`
23}
24
25func Push(c *gin.Context) {
26 var formPush FormPush

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected