Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelFollowService ¶
type CancelFollowService struct {
// contains filtered or unexported fields
}
func NewCancelFollowService ¶
func NewCancelFollowService(ctx context.Context) *CancelFollowService
NewCancelFollowService new CancelFollowService
func (*CancelFollowService) CancelFollow ¶
func (s *CancelFollowService) CancelFollow(req *user.RelationActionRequest) error
type CheckUserService ¶
type CheckUserService struct {
// contains filtered or unexported fields
}
func NewCheckUserService ¶
func NewCheckUserService(ctx context.Context) *CheckUserService
NewCheckUserService new CheckUserService
func (*CheckUserService) CheckUser ¶
func (s *CheckUserService) CheckUser(req *user.CheckUserRequest) (uint64, error)
func (*CheckUserService) IsUserExist ¶
func (s *CheckUserService) IsUserExist(username string) (bool, error)
type CreateUserService ¶
type CreateUserService struct {
// contains filtered or unexported fields
}
func NewCreateUserService ¶
func NewCreateUserService(ctx context.Context) *CreateUserService
NewCreateUserService new CreateUserService
func (*CreateUserService) CreateUser ¶
func (s *CreateUserService) CreateUser(req *user.CreateUserRequest) (uint64, error)
type GetUserService ¶
type GetUserService struct {
// contains filtered or unexported fields
}
func NewGetUserService ¶
func NewGetUserService(ctx context.Context) *GetUserService
NewCheckUserService new CheckUserService
func (*GetUserService) GetUser ¶
func (s *GetUserService) GetUser(req *user.GetUserRequest) (*user.User, error)
type MGetUserService ¶
type MGetUserService struct {
// contains filtered or unexported fields
}
func NewMGetUserService ¶
func NewMGetUserService(ctx context.Context) *MGetUserService
NewCheckUserService new CheckUserService
func (*MGetUserService) MGetUser ¶
func (s *MGetUserService) MGetUser(req *user.MGetUserRequest) ([]*user.User, error)
type RelationService ¶
type RelationService struct {
// contains filtered or unexported fields
}
func NewRelationService ¶
func NewRelationService(ctx context.Context) *RelationService
NewFollowService new FollowService
func (*RelationService) CancelFollow ¶
func (s *RelationService) CancelFollow(req *user.RelationActionRequest) error
func (*RelationService) Follow ¶
func (s *RelationService) Follow(req *user.RelationActionRequest) error
func (*RelationService) GetFollowOrFans ¶
func (s *RelationService) GetFollowOrFans(req *user.MGetRelationUserRequest, key string) ([]*user.User, error)
Click to show internal directories.
Click to hide internal directories.