issuestream

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueStream

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

IssueStream issue stream service 对象

func New

func New(options ...Option) *IssueStream

New 新建 issue stream 对象

func (*IssueStream) Create

Create 创建事件记录

func (*IssueStream) CreateIssueEvent

func (s *IssueStream) CreateIssueEvent(issueID int64, streamType apistructs.IssueStreamType,
	streamParams apistructs.ISTParam) error

CreateIssueEvent create issue event

func (*IssueStream) Paging

Paging 事件流记录分页查询

type Option

type Option func(*IssueStream)

Option 定义 IssueStream 对象配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 db client

Jump to

Keyboard shortcuts

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