issuestream

package
v1.0.0-RC Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultContent

func GetDefaultContent(ist apistructs.IssueStreamType, param apistructs.ISTParam) (string, error)

GetDefaultContent 获取渲染后的事件流内容

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

Createm 创建事件记录

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