Documentation ¶
Overview ¶
Package service /*
Index ¶
- Variables
- func GoCron()
- func Init(signingKey string)
- type RelationServiceImpl
- func (s *RelationServiceImpl) RelationAction(ctx context.Context, req *relation.RelationActionRequest) (resp *relation.RelationActionResponse, err error)
- func (s *RelationServiceImpl) RelationFollowList(ctx context.Context, req *relation.RelationFollowListRequest) (resp *relation.RelationFollowListResponse, err error)
- func (s *RelationServiceImpl) RelationFollowerList(ctx context.Context, req *relation.RelationFollowerListRequest) (resp *relation.RelationFollowerListResponse, err error)
- func (s *RelationServiceImpl) RelationFriendList(ctx context.Context, req *relation.RelationFriendListRequest) (resp *relation.RelationFriendListResponse, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Jwt *jwt.JWT RelationMq = rabbitmq.NewRabbitMQSimple("relation", autoAck) )
Functions ¶
Types ¶
type RelationServiceImpl ¶
type RelationServiceImpl struct{}
RelationServiceImpl implements the last service interface defined in the IDL.
func (*RelationServiceImpl) RelationAction ¶
func (s *RelationServiceImpl) RelationAction(ctx context.Context, req *relation.RelationActionRequest) (resp *relation.RelationActionResponse, err error)
RelationAction implements the RelationServiceImpl interface.
func (*RelationServiceImpl) RelationFollowList ¶
func (s *RelationServiceImpl) RelationFollowList(ctx context.Context, req *relation.RelationFollowListRequest) (resp *relation.RelationFollowListResponse, err error)
RelationFollowList implements the RelationServiceImpl interface.
func (*RelationServiceImpl) RelationFollowerList ¶
func (s *RelationServiceImpl) RelationFollowerList(ctx context.Context, req *relation.RelationFollowerListRequest) (resp *relation.RelationFollowerListResponse, err error)
RelationFollowerList implements the RelationServiceImpl interface.
func (*RelationServiceImpl) RelationFriendList ¶
func (s *RelationServiceImpl) RelationFriendList(ctx context.Context, req *relation.RelationFriendListRequest) (resp *relation.RelationFriendListResponse, err error)
RelationFriendList implements the RelationServiceImpl interface.
Click to show internal directories.
Click to hide internal directories.