Documentation ¶
Index ¶
- type FollowServer
- func (s *FollowServer) FansList(ctx context.Context, in *pb.FansListRequest) (*pb.FansListResponse, error)
- func (s *FollowServer) Follow(ctx context.Context, in *pb.FollowRequest) (*pb.FollowResponse, error)
- func (s *FollowServer) FollowList(ctx context.Context, in *pb.FollowListRequest) (*pb.FollowListResponse, error)
- func (s *FollowServer) UnFollow(ctx context.Context, in *pb.UnFollowRequest) (*pb.UnFollowResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowServer ¶
type FollowServer struct { pb.UnimplementedFollowServer // contains filtered or unexported fields }
func NewFollowServer ¶
func NewFollowServer(svcCtx *svc.ServiceContext) *FollowServer
func (*FollowServer) FansList ¶
func (s *FollowServer) FansList(ctx context.Context, in *pb.FansListRequest) (*pb.FansListResponse, error)
粉丝列表
func (*FollowServer) Follow ¶
func (s *FollowServer) Follow(ctx context.Context, in *pb.FollowRequest) (*pb.FollowResponse, error)
关注
func (*FollowServer) FollowList ¶
func (s *FollowServer) FollowList(ctx context.Context, in *pb.FollowListRequest) (*pb.FollowListResponse, error)
关注列表
func (*FollowServer) UnFollow ¶
func (s *FollowServer) UnFollow(ctx context.Context, in *pb.UnFollowRequest) (*pb.UnFollowResponse, error)
取消关注
Click to show internal directories.
Click to hide internal directories.