MCPcopy Create free account

hub / github.com/RaymondCode/simple-demo / functions

Functions30 in github.com/RaymondCode/simple-demo

↓ 7 callersFunctiongetTestUserToken
(user string, e *httpexpect.Expect)
test/common.go:24
↓ 7 callersFunctionnewExpect
(t *testing.T)
test/common.go:13
↓ 2 callersFunctiongenChatKey
(userIdA int64, userIdB int64)
controller/message.go:64
↓ 1 callersFunctionRunMessageServer
()
service/message.go:14
↓ 1 callersFunctioninitRouter
(r *gin.Engine)
router.go:8
↓ 1 callersFunctionprocess
(conn net.Conn)
service/message.go:32
FunctionCommentAction
CommentAction no practical effect, just check if token is valid
controller/comment.go:19
FunctionCommentList
CommentList all videos have same demo comment list
controller/comment.go:42
FunctionFavoriteAction
FavoriteAction no practical effect, just check if token is valid
controller/favorite.go:9
FunctionFavoriteList
FavoriteList all users have same favorite video list
controller/favorite.go:20
FunctionFeed
Feed same demo video list for every request
controller/feed.go:16
FunctionFollowList
FollowList all users have same follow list
controller/relation.go:25
FunctionFollowerList
FollowerList all users have same follower list
controller/relation.go:35
FunctionFriendList
FriendList all users have same friend list
controller/relation.go:45
FunctionLogin
(c *gin.Context)
controller/user.go:60
FunctionMessageAction
MessageAction no practical effect, just check if token is valid
controller/message.go:22
FunctionMessageChat
MessageChat all users have same follow list
controller/message.go:50
FunctionPublish
Publish check token then save upload file to public directory
controller/publish.go:16
FunctionPublishList
PublishList all users have same publish video list
controller/publish.go:52
FunctionRegister
(c *gin.Context)
controller/user.go:35
FunctionRelationAction
RelationAction no practical effect, just check if token is valid
controller/relation.go:14
FunctionTestChat
(t *testing.T)
test/social_api_test.go:60
FunctionTestComment
(t *testing.T)
test/interact_api_test.go:44
FunctionTestFavorite
(t *testing.T)
test/interact_api_test.go:9
FunctionTestFeed
(t *testing.T)
test/base_api_test.go:11
FunctionTestPublish
(t *testing.T)
test/base_api_test.go:66
FunctionTestRelation
(t *testing.T)
test/social_api_test.go:9
FunctionTestUserAction
(t *testing.T)
test/base_api_test.go:27
FunctionUserInfo
(c *gin.Context)
controller/user.go:79
Functionmain
()
main.go:8