service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentsOrder

func CommentsOrder(ctx context.Context, req *comments_business.CommentsOrderRequest) (retCode int)

func FindCommentsTags

func FindCommentsTags(ctx context.Context, req *comments_business.FindCommentsTagRequest) (result []*comments_business.CommentsTags, retCode int)

func ModifyCommentsTags

func ModifyCommentsTags(ctx context.Context, req *comments_business.ModifyCommentsTagsRequest) (retCode int)

Types

type PushMsgTag

type PushMsgTag struct {
	DeliveryTag    string
	DeliveryErrTag string
	RetryCount     int
	RetryTimeout   int
}

type PushNoticeService

type PushNoticeService struct {
	// contains filtered or unexported fields
}

func NewPushNoticeService

func NewPushNoticeService(server *queue.MachineryQueue, tag PushMsgTag) *PushNoticeService

func (*PushNoticeService) GetTaskState

func (p *PushNoticeService) GetTaskState(taskId string) (*tasks.TaskState, error)

func (*PushNoticeService) PushMessage

func (p *PushNoticeService) PushMessage(ctx context.Context, args interface{}) (string, int)

Jump to

Keyboard shortcuts

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