service

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastGet

func FastGet(urlStr string, requestParam interface{}) ([]byte, error)

Types

type CommentService

type CommentService struct {
	service.OrmBaseService
}

CommentService 同步表结构,服务继承基本服务的方法

func GetCommentService

func GetCommentService() *CommentService

func (*CommentService) GetComments

func (svc *CommentService) GetComments(awemeId string, from int, limit int) ([]*entity.Comment, error)

GetComments 获取某个视频的评论数据

func (*CommentService) GetSeqName

func (svc *CommentService) GetSeqName() string

func (*CommentService) NewEntities

func (svc *CommentService) NewEntities(data []byte) (interface{}, error)

func (*CommentService) NewEntity

func (svc *CommentService) NewEntity(data []byte) (interface{}, error)

Jump to

Keyboard shortcuts

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