service

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

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 New

func New(c *conf.Config) (s *Service)

New init

func (*Service) AddSVTotal

func (s *Service) AddSVTotal(vNew *model.VideoRaw)

AddSVTotal ...

func (*Service) AutoRegAll

func (s *Service) AutoRegAll(c context.Context)

AutoRegAll 批量注册评论

func (*Service) BvcTransSub

func (s *Service) BvcTransSub()

BvcTransSub ...

func (*Service) Close

func (s *Service) Close()

Close Service

func (*Service) CommentReg

func (s *Service) CommentReg(c context.Context, oid int64, state int16) (err error)

CommentReg 评论开关

func (*Service) MergeUpInfoSub

func (s *Service) MergeUpInfoSub(vNew *model.VideoRaw) (err error)

MergeUpInfoSub ..

func (*Service) PepareResource

func (s *Service) PepareResource(vNew *model.VideoRepRaw) (err error)

PepareResource ...

func (*Service) Ping

func (s *Service) Ping(c context.Context) (err error)

Ping Service

func (*Service) SaveVideo2ES

func (s *Service) SaveVideo2ES(ids string) (res bool)

SaveVideo2ES 保存视频到es

func (*Service) SendMail

func (s *Service) SendMail(mailType int) (err error)

SendMail ...

func (*Service) SyncSearch

func (s *Service) SyncSearch()

SyncSearch 全量同步搜索各文件

func (*Service) SyncSug2Search

func (s *Service) SyncSug2Search()

SyncSug2Search 同步sug

func (*Service) SyncUser2Search

func (s *Service) SyncUser2Search()

SyncUser2Search 同步用户

func (*Service) SyncVideo2Search

func (s *Service) SyncVideo2Search()

SyncVideo2Search 同步视频

func (*Service) SysMsgTask

func (s *Service) SysMsgTask()

SysMsgTask 推送消息

func (*Service) Test

func (s *Service) Test()

Test 测试

func (*Service) TransToCheckBack

func (s *Service) TransToCheckBack()

TransToCheckBack ..

func (*Service) TransToReview

func (s *Service) TransToReview()

TransToReview ...

func (*Service) UpdateCms

func (s *Service) UpdateCms(c context.Context, vNew *model.VideoRaw) (err error)

UpdateCms ..

func (*Service) UpdateStaInfoSub

func (s *Service) UpdateStaInfoSub(vNew *model.VideoRaw, vOld *model.VideoRaw)

UpdateStaInfoSub ...

func (*Service) UpdateUsrBaseFace

func (s *Service) UpdateUsrBaseFace() (err error)

UpdateUsrBaseFace 更新user_base里的face字段

func (*Service) UserProfileUpdate

func (s *Service) UserProfileUpdate()

UserProfileUpdate bbq_user_profile

func (*Service) VideoStateSub

func (s *Service) VideoStateSub(vNew *model.VideoRaw, vOld *model.VideoRaw) (err error)

VideoStateSub 视频状态变更消费

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL