issue_ctr

package
v1.0.1-0...-a3844e9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

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

func NewComment

func NewComment() *Comment

func (*Comment) CreateComment

CreateComment 创建反馈评论

func (*Comment) DeleteComment

DeleteComment 删除反馈评论

func (*Comment) ListComment

func (c *Comment) ListComment(ctx context.Context, req *api.ListCommentRequest) (*api.ListCommentResponse, error)

ListComment 获取反馈评论列表

func (*Comment) Router

func (c *Comment) Router(r *mux.Router)

type Issue

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

func NewIssue

func NewIssue() *Issue

func (*Issue) Close

func (i *Issue) Close(ctx context.Context, req *api.CloseRequest) (*api.CloseResponse, error)

Close 关闭issue

func (*Issue) CreateIssue

func (i *Issue) CreateIssue(ctx context.Context, req *api.CreateIssueRequest) (*api.CreateIssueResponse, error)

CreateIssue 创建脚本反馈

func (*Issue) Delete

func (i *Issue) Delete(ctx context.Context, req *api.DeleteRequest) (*api.DeleteResponse, error)

Delete 删除issue

func (*Issue) GetIssue

func (i *Issue) GetIssue(ctx context.Context, req *api.GetIssueRequest) (*api.GetIssueResponse, error)

GetIssue 获取issue信息

func (*Issue) GetWatch

func (i *Issue) GetWatch(ctx context.Context, req *api.GetWatchRequest) (*api.GetWatchResponse, error)

GetWatch 获取issue关注状态

func (*Issue) List

func (i *Issue) List(ctx context.Context, req *api.ListRequest) (*api.ListResponse, error)

List 获取脚本反馈列表

func (*Issue) Open

func (i *Issue) Open(ctx context.Context, req *api.OpenRequest) (*api.OpenResponse, error)

Open 打开issue

func (*Issue) Router

func (i *Issue) Router(r *mux.Router)

func (*Issue) UpdateLabels

func (i *Issue) UpdateLabels(ctx context.Context, req *api.UpdateLabelsRequest) (*api.UpdateLabelsResponse, error)

UpdateLabels 更新issue标签

func (*Issue) Watch

func (i *Issue) Watch(ctx context.Context, req *api.WatchRequest) (*api.WatchResponse, error)

Watch 关注issue

Jump to

Keyboard shortcuts

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