Documentation ¶
Index ¶
- func HashPassword(password string) (string, error)
- func TestCreatePost(client socialnetwork_pb.PostServiceClient, username string, content string, ...) string
- func TestDeletePost(client socialnetwork_pb.PostServiceClient, postId string, token string)
- func TestEditUser(client socialnetwork_pb.UserServiceClient, user *socialnetwork_pb.User, ...)
- func TestFollow(client socialnetwork_pb.FollowServiceClient, follower string, followed string, ...)
- func TestGetFollowingUsers(client socialnetwork_pb.FollowServiceClient, username string, token string)
- func TestGetPost(client socialnetwork_pb.PostServiceClient, postId string, token string)
- func TestGetUser(client socialnetwork_pb.UserServiceClient, username string, token string)
- func TestGetUserPosts(client socialnetwork_pb.PostServiceClient, username string, token string)
- func TestLogin(client socialnetwork_pb.AuthClient, username, password string) (string, error)
- func TestRepost(client socialnetwork_pb.PostServiceClient, username string, postId string, ...) string
- func TestSignUp(client socialnetwork_pb.AuthClient, user *socialnetwork_pb.User)
- func TestUnfollow(client socialnetwork_pb.FollowServiceClient, follower string, followed string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
func TestCreatePost ¶
func TestCreatePost(client socialnetwork_pb.PostServiceClient, username string, content string, token string) string
func TestDeletePost ¶
func TestDeletePost(client socialnetwork_pb.PostServiceClient, postId string, token string)
func TestEditUser ¶
func TestEditUser(client socialnetwork_pb.UserServiceClient, user *socialnetwork_pb.User, token string)
func TestFollow ¶
func TestFollow(client socialnetwork_pb.FollowServiceClient, follower string, followed string, token string)
func TestGetFollowingUsers ¶
func TestGetFollowingUsers(client socialnetwork_pb.FollowServiceClient, username string, token string)
func TestGetPost ¶
func TestGetPost(client socialnetwork_pb.PostServiceClient, postId string, token string)
func TestGetUser ¶
func TestGetUser(client socialnetwork_pb.UserServiceClient, username string, token string)
func TestGetUserPosts ¶
func TestGetUserPosts(client socialnetwork_pb.PostServiceClient, username string, token string)
func TestLogin ¶
func TestLogin(client socialnetwork_pb.AuthClient, username, password string) (string, error)
func TestRepost ¶
func TestRepost(client socialnetwork_pb.PostServiceClient, username string, postId string, token string) string
func TestSignUp ¶
func TestSignUp(client socialnetwork_pb.AuthClient, user *socialnetwork_pb.User)
func TestUnfollow ¶
func TestUnfollow(client socialnetwork_pb.FollowServiceClient, follower string, followed string, token string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.