Documentation
¶
Index ¶
- type VideoService
- func (s *VideoService) AssembleAuthorInfo(ctx context.Context, data []*svapi.Video)
- func (s *VideoService) AssembleUserIsFollowing(ctx context.Context, list []*svapi.Video, userId int64)
- func (s *VideoService) AssembleVideo(ctx context.Context, userId int64, data []*v1.Video) ([]*svapi.Video, error)
- func (s *VideoService) AssembleVideoCountInfo(ctx context.Context, list []*svapi.Video)
- func (s *VideoService) AssembleVideoList(ctx context.Context, userId int64, data []*v1.Video) ([]*svapi.Video, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoService ¶
type VideoService struct {
// contains filtered or unexported fields
}
func New ¶
func New(core *svcoreadapter.Adapter) *VideoService
func (*VideoService) AssembleAuthorInfo ¶
func (s *VideoService) AssembleAuthorInfo(ctx context.Context, data []*svapi.Video)
func (*VideoService) AssembleUserIsFollowing ¶
func (*VideoService) AssembleVideo ¶
func (*VideoService) AssembleVideoCountInfo ¶
func (s *VideoService) AssembleVideoCountInfo(ctx context.Context, list []*svapi.Video)
Click to show internal directories.
Click to hide internal directories.