Documentation
¶
Index ¶
- type Comment
- func (c *Comment) CreateComment(ctx context.Context, req *api.CreateCommentRequest) (*api.CreateCommentResponse, error)
- func (c *Comment) DeleteComment(ctx context.Context, req *api.DeleteCommentRequest) (*api.DeleteCommentResponse, error)
- func (c *Comment) ListComment(ctx context.Context, req *api.ListCommentRequest) (*api.ListCommentResponse, error)
- func (c *Comment) Router(r *mux.Router)
- type Issue
- func (i *Issue) Close(ctx context.Context, req *api.CloseRequest) (*api.CloseResponse, error)
- func (i *Issue) CreateIssue(ctx context.Context, req *api.CreateIssueRequest) (*api.CreateIssueResponse, error)
- func (i *Issue) Delete(ctx context.Context, req *api.DeleteRequest) (*api.DeleteResponse, error)
- func (i *Issue) GetIssue(ctx context.Context, req *api.GetIssueRequest) (*api.GetIssueResponse, error)
- func (i *Issue) GetWatch(ctx context.Context, req *api.GetWatchRequest) (*api.GetWatchResponse, error)
- func (i *Issue) List(ctx context.Context, req *api.ListRequest) (*api.ListResponse, error)
- func (i *Issue) Open(ctx context.Context, req *api.OpenRequest) (*api.OpenResponse, error)
- func (i *Issue) Router(r *mux.Router)
- func (i *Issue) UpdateLabels(ctx context.Context, req *api.UpdateLabelsRequest) (*api.UpdateLabelsResponse, error)
- func (i *Issue) Watch(ctx context.Context, req *api.WatchRequest) (*api.WatchResponse, error)
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 ¶
func (c *Comment) CreateComment(ctx context.Context, req *api.CreateCommentRequest) (*api.CreateCommentResponse, error)
CreateComment 创建反馈评论
func (*Comment) DeleteComment ¶
func (c *Comment) DeleteComment(ctx context.Context, req *api.DeleteCommentRequest) (*api.DeleteCommentResponse, error)
DeleteComment 删除反馈评论
func (*Comment) ListComment ¶
func (c *Comment) ListComment(ctx context.Context, req *api.ListCommentRequest) (*api.ListCommentResponse, error)
ListComment 获取反馈评论列表
type Issue ¶
type Issue struct {
// contains filtered or unexported fields
}
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) 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
Click to show internal directories.
Click to hide internal directories.