Documentation ¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) Followers(ctx context.Context, param *model.FollowersParam) (*model.FollowersListPage, error)
- func (s *Service) Followings(ctx context.Context, param *model.FollowingsParam) (*model.FollowingsListPage, error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) RelationLog(ctx context.Context, mid, fid int64, from time.Time, to time.Time) (model.RelationLogList, error)
- func (s *Service) Stat(ctx context.Context, param *model.ArgMid) (*relationPB.StatReply, error)
- func (s *Service) Stats(ctx context.Context, param *model.ArgMids) (map[int64]*relationPB.StatReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) Followers ¶
func (s *Service) Followers(ctx context.Context, param *model.FollowersParam) (*model.FollowersListPage, error)
Followers is.
func (*Service) Followings ¶
func (s *Service) Followings(ctx context.Context, param *model.FollowingsParam) (*model.FollowingsListPage, error)
Followings is.
func (*Service) RelationLog ¶
func (s *Service) RelationLog(ctx context.Context, mid, fid int64, from time.Time, to time.Time) (model.RelationLogList, error)
RelationLog is.
Click to show internal directories.
Click to hide internal directories.