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

Struct FormLogin

api/handler/user.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type FormLogin struct {
17 UserName string `form:"userName" json:"userName" binding:"required"`
18 Password string `form:"passWord" json:"passWord" binding:"required"`
19}
20
21func Login(c *gin.Context) {
22 var formLogin FormLogin

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected