Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RaymondCode/simple-demo
/ functions
Functions
30 in github.com/RaymondCode/simple-demo
⨍
Functions
30
◇
Types & classes
15
↓ 7 callers
Function
getTestUserToken
(user string, e *httpexpect.Expect)
test/common.go:24
↓ 7 callers
Function
newExpect
(t *testing.T)
test/common.go:13
↓ 2 callers
Function
genChatKey
(userIdA int64, userIdB int64)
controller/message.go:64
↓ 1 callers
Function
RunMessageServer
()
service/message.go:14
↓ 1 callers
Function
initRouter
(r *gin.Engine)
router.go:8
↓ 1 callers
Function
process
(conn net.Conn)
service/message.go:32
Function
CommentAction
CommentAction no practical effect, just check if token is valid
controller/comment.go:19
Function
CommentList
CommentList all videos have same demo comment list
controller/comment.go:42
Function
FavoriteAction
FavoriteAction no practical effect, just check if token is valid
controller/favorite.go:9
Function
FavoriteList
FavoriteList all users have same favorite video list
controller/favorite.go:20
Function
Feed
Feed same demo video list for every request
controller/feed.go:16
Function
FollowList
FollowList all users have same follow list
controller/relation.go:25
Function
FollowerList
FollowerList all users have same follower list
controller/relation.go:35
Function
FriendList
FriendList all users have same friend list
controller/relation.go:45
Function
Login
(c *gin.Context)
controller/user.go:60
Function
MessageAction
MessageAction no practical effect, just check if token is valid
controller/message.go:22
Function
MessageChat
MessageChat all users have same follow list
controller/message.go:50
Function
Publish
Publish check token then save upload file to public directory
controller/publish.go:16
Function
PublishList
PublishList all users have same publish video list
controller/publish.go:52
Function
Register
(c *gin.Context)
controller/user.go:35
Function
RelationAction
RelationAction no practical effect, just check if token is valid
controller/relation.go:14
Function
TestChat
(t *testing.T)
test/social_api_test.go:60
Function
TestComment
(t *testing.T)
test/interact_api_test.go:44
Function
TestFavorite
(t *testing.T)
test/interact_api_test.go:9
Function
TestFeed
(t *testing.T)
test/base_api_test.go:11
Function
TestPublish
(t *testing.T)
test/base_api_test.go:66
Function
TestRelation
(t *testing.T)
test/social_api_test.go:9
Function
TestUserAction
(t *testing.T)
test/base_api_test.go:27
Function
UserInfo
(c *gin.Context)
controller/user.go:79
Function
main
()
main.go:8