adaptor

package
v1.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserServerImpl

type UserServerImpl struct {
	*config.Config
	LikeService service.LikeService
	UserService service.UserService
}

func (*UserServerImpl) DoLike

func (s *UserServerImpl) DoLike(ctx context.Context, req *user.DoLikeReq) (res *user.DoLikeResp, err error)

func (*UserServerImpl) GetLikedUsers

func (s *UserServerImpl) GetLikedUsers(ctx context.Context, req *user.GetLikedUsersReq) (res *user.GetLikedUsersResp, err error)

func (*UserServerImpl) GetTargetLikes

func (s *UserServerImpl) GetTargetLikes(ctx context.Context, req *user.GetTargetLikesReq) (res *user.GetTargetLikesResp, err error)

func (*UserServerImpl) GetUser

func (s *UserServerImpl) GetUser(ctx context.Context, req *user.GetUserReq) (res *user.GetUserResp, err error)

func (*UserServerImpl) GetUserDetail

func (s *UserServerImpl) GetUserDetail(ctx context.Context, req *user.GetUserDetailReq) (res *user.GetUserDetailResp, err error)

func (*UserServerImpl) GetUserLike

func (s *UserServerImpl) GetUserLike(ctx context.Context, req *user.GetUserLikedReq) (res *user.GetUserLikedResp, err error)

func (*UserServerImpl) GetUserLikes

func (s *UserServerImpl) GetUserLikes(ctx context.Context, req *user.GetUserLikesReq) (res *user.GetUserLikesResp, err error)

func (*UserServerImpl) SearchUser

func (s *UserServerImpl) SearchUser(ctx context.Context, req *user.SearchUserReq) (res *user.SearchUserResp, err error)

func (*UserServerImpl) UpdateUser

func (s *UserServerImpl) UpdateUser(ctx context.Context, req *user.UpdateUserReq) (res *user.UpdateUserResp, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL