Documentation
¶
Index ¶
- type Service
- func (s *Service) AccessToBugly(c context.Context, username string) (isAccess bool)
- func (s *Service) AccessToWorkspace(workspaceID, username string) (isAccess bool)
- func (s *Service) BatchRunTask(taskName string, task func() error)
- func (s *Service) BatchRunUpdateBugInTapd() (err error)
- func (s *Service) BatchRunVersions() (err error)
- func (s *Service) BugInsertTapdWithProject(c context.Context, id int64, username string) (rep map[string]interface{}, err error)
- func (s *Service) BugInsertTapdWithVersion(c context.Context, id int64, username string) (rep map[string]interface{}, err error)
- func (s *Service) BuglyVersionAndProjectList(c context.Context) (rep map[string]interface{}, err error)
- func (s *Service) CheckTapdBugTplSQL(c context.Context, sql string) (rep map[string]interface{}, err error)
- func (s *Service) Close()
- func (s *Service) DisableBatchRunOverTime() (err error)
- func (s *Service) DisableCookie(c context.Context, cookieID int64) (err error)
- func (s *Service) DoWhenNoEnableCookie()
- func (s *Service) GetBatchRunVersions() (buglyRunVersions []*model.BuglyVersion, err error)
- func (s *Service) GetEnableCookie() (buglyCookie *model.BuglyCookie, err error)
- func (s *Service) HttpAccessToWorkspace(c context.Context, workspaceID, username string) (rep map[string]interface{}, err error)
- func (s *Service) HttpSyncWechatContacts(ctx context.Context) (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) QueryAllBuglyProjects(c context.Context) (buglyProjects []*model.BuglyProject, err error)
- func (s *Service) QueryAllTapdBugTpl(c context.Context) (rep []*model.TapdBugTemplateShortResponse, err error)
- func (s *Service) QueryBatchRuns(c context.Context, req *model.QueryBuglyBatchRunsRequest) (rep *model.PaginateBuglyBatchRuns, err error)
- func (s *Service) QueryBugRecords(c context.Context, req *model.QueryBugRecordsRequest) (rep *model.PaginateBugRecords, err error)
- func (s *Service) QueryBuglyIssueRecords(c context.Context, req *model.QueryBuglyIssueRequest) (rep *model.PaginateBuglyIssues, err error)
- func (s *Service) QueryBuglyProject(c context.Context, id int64) (buglyProject *model.BuglyProject, err error)
- func (s *Service) QueryBuglyProjectVersions(c context.Context, buglyProjectID int64) (rep map[string]interface{}, err error)
- func (s *Service) QueryBuglyProjects(c context.Context, req *model.QueryBuglyProjectRequest) (rep *model.PaginateBuglyProjects, err error)
- func (s *Service) QueryBuglyVersions(c context.Context, req *model.QueryBuglyVersionRequest) (rep *model.PaginateBuglyProjectVersions, err error)
- func (s *Service) QueryCookies(c context.Context, req *model.QueryBuglyCookiesRequest) (rep *model.PaginateBuglyCookies, err error)
- func (s *Service) QueryTapdBugPriorityConfsRequest(c context.Context, req *model.QueryTapdBugPriorityConfsRequest) (rep *model.PaginateTapdBugPriorityConfs, err error)
- func (s *Service) QueryTapdBugTpl(c context.Context, req *model.QueryTapdBugTemplateRequest) (rep *model.PaginateTapdBugTemplates, err error)
- func (s *Service) QueryTapdBugVersionTpl(c context.Context, req *model.QueryTapdBugVersionTemplateRequest) (rep *model.PaginateTapdBugVersionTemplates, err error)
- func (s *Service) QueryUserInfo(c context.Context, username string) (userInfo *model.User, err error)
- func (s *Service) RunVersions(buglyVersionID int64) (rep map[string]interface{}, err error)
- func (s *Service) SendMail(receiver []string, header, body string)
- func (s *Service) SyncWechatContacts() (err error)
- func (s *Service) UpdateBuglyProject(c context.Context, username string, req *model.AddProjectRequest) (rep map[string]interface{}, err error)
- func (s *Service) UpdateBuglyVersion(c context.Context, username string, req *model.AddVersionRequest) (rep map[string]interface{}, err error)
- func (s *Service) UpdateCookie(c context.Context, username string, req *model.AddCookieRequest) (rep map[string]interface{}, err error)
- func (s *Service) UpdateCookieStatus(c context.Context, cookieID int64, status int) (err error)
- func (s *Service) UpdateTapdBugPriorityConf(c context.Context, username string, ...) (rep map[string]interface{}, err error)
- func (s *Service) UpdateTapdBugTpl(c context.Context, username string, req *model.UpdateTapdBugTplRequest) (rep map[string]interface{}, err error)
- func (s *Service) UpdateTapdBugVersionTpl(c context.Context, username string, req *model.UpdateTapdBugVersionTplRequest) (rep map[string]interface{}, err error)
- func (s *Service) UpdateTplAsVersionTpl(tapdBugVersionTemplate *model.TapdBugVersionTemplate, ...) (err error)
- func (s *Service) UpdateUserVisibleBugly(c context.Context, username, updateUsername string, visibleBugly bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) AccessToBugly ¶
AccessToBugly Access To Bugly.
func (*Service) AccessToWorkspace ¶
AccessToWorkspace Access To Workspace.
func (*Service) BatchRunTask ¶
BatchRunTask Batch Run Task.
func (*Service) BatchRunUpdateBugInTapd ¶
BatchRunUpdateBugInTapd Batch Run Update Bug In Tapd.
func (*Service) BatchRunVersions ¶
BatchRunVersions Batch Run Versions
func (*Service) BugInsertTapdWithProject ¶
func (s *Service) BugInsertTapdWithProject(c context.Context, id int64, username string) (rep map[string]interface{}, err error)
BugInsertTapdWithProject Bug Insert Tapd With Project.
func (*Service) BugInsertTapdWithVersion ¶
func (s *Service) BugInsertTapdWithVersion(c context.Context, id int64, username string) (rep map[string]interface{}, err error)
BugInsertTapdWithVersion Bug Insert Tapd With Version.
func (*Service) BuglyVersionAndProjectList ¶
func (s *Service) BuglyVersionAndProjectList(c context.Context) (rep map[string]interface{}, err error)
BuglyVersionAndProjectList Bugly Version and project List.
func (*Service) CheckTapdBugTplSQL ¶
func (s *Service) CheckTapdBugTplSQL(c context.Context, sql string) (rep map[string]interface{}, err error)
CheckTapdBugTplSQL Check Tapd Bug Tpl SQL.
func (*Service) DisableBatchRunOverTime ¶
DisableBatchRunOverTime Disable Batch Run OverTime.
func (*Service) DisableCookie ¶
DisableCookie Disable Cookie.
func (*Service) DoWhenNoEnableCookie ¶
func (s *Service) DoWhenNoEnableCookie()
DoWhenNoEnableCookie Do When No Enable Cookie.
func (*Service) GetBatchRunVersions ¶
func (s *Service) GetBatchRunVersions() (buglyRunVersions []*model.BuglyVersion, err error)
GetBatchRunVersions Get Batch Run Versions.
func (*Service) GetEnableCookie ¶
func (s *Service) GetEnableCookie() (buglyCookie *model.BuglyCookie, err error)
GetEnableCookie Get Enable Cookie.
func (*Service) HttpAccessToWorkspace ¶
func (s *Service) HttpAccessToWorkspace(c context.Context, workspaceID, username string) (rep map[string]interface{}, err error)
HttpAccessToWorkspace Access To Workspace.
func (*Service) HttpSyncWechatContacts ¶
HttpSyncWechatContacts Http Sync Wechat Contacts.
func (*Service) QueryAllBuglyProjects ¶
func (s *Service) QueryAllBuglyProjects(c context.Context) (buglyProjects []*model.BuglyProject, err error)
QueryAllBuglyProjects Query All Bugly Projects.
func (*Service) QueryAllTapdBugTpl ¶
func (s *Service) QueryAllTapdBugTpl(c context.Context) (rep []*model.TapdBugTemplateShortResponse, err error)
QueryAllTapdBugTpl Query All Tapd Bug Tpl
func (*Service) QueryBatchRuns ¶
func (s *Service) QueryBatchRuns(c context.Context, req *model.QueryBuglyBatchRunsRequest) (rep *model.PaginateBuglyBatchRuns, err error)
QueryBatchRuns Query Batch Runs
func (*Service) QueryBugRecords ¶
func (s *Service) QueryBugRecords(c context.Context, req *model.QueryBugRecordsRequest) (rep *model.PaginateBugRecords, err error)
QueryBugRecords Query Bug Records
func (*Service) QueryBuglyIssueRecords ¶
func (s *Service) QueryBuglyIssueRecords(c context.Context, req *model.QueryBuglyIssueRequest) (rep *model.PaginateBuglyIssues, err error)
QueryBuglyIssueRecords Query Bugly Issue Records
func (*Service) QueryBuglyProject ¶
func (s *Service) QueryBuglyProject(c context.Context, id int64) (buglyProject *model.BuglyProject, err error)
QueryBuglyProject Query Bugly Project.
func (*Service) QueryBuglyProjectVersions ¶
func (s *Service) QueryBuglyProjectVersions(c context.Context, buglyProjectID int64) (rep map[string]interface{}, err error)
QueryBuglyProjectVersions Query Bugly Project Versions.
func (*Service) QueryBuglyProjects ¶
func (s *Service) QueryBuglyProjects(c context.Context, req *model.QueryBuglyProjectRequest) (rep *model.PaginateBuglyProjects, err error)
QueryBuglyProjects Query Bugly Project.
func (*Service) QueryBuglyVersions ¶
func (s *Service) QueryBuglyVersions(c context.Context, req *model.QueryBuglyVersionRequest) (rep *model.PaginateBuglyProjectVersions, err error)
QueryBuglyVersions Query Bugly Versions.
func (*Service) QueryCookies ¶
func (s *Service) QueryCookies(c context.Context, req *model.QueryBuglyCookiesRequest) (rep *model.PaginateBuglyCookies, err error)
QueryCookies Add Cookie.
func (*Service) QueryTapdBugPriorityConfsRequest ¶
func (s *Service) QueryTapdBugPriorityConfsRequest(c context.Context, req *model.QueryTapdBugPriorityConfsRequest) (rep *model.PaginateTapdBugPriorityConfs, err error)
QueryTapdBugPriorityConfsRequest Query Tapd Bug Priority Confs Request
func (*Service) QueryTapdBugTpl ¶
func (s *Service) QueryTapdBugTpl(c context.Context, req *model.QueryTapdBugTemplateRequest) (rep *model.PaginateTapdBugTemplates, err error)
QueryTapdBugTpl Query Tapd Bug Tpl
func (*Service) QueryTapdBugVersionTpl ¶
func (s *Service) QueryTapdBugVersionTpl(c context.Context, req *model.QueryTapdBugVersionTemplateRequest) (rep *model.PaginateTapdBugVersionTemplates, err error)
QueryTapdBugVersionTpl Query Tapd Bug Version Tpl
func (*Service) QueryUserInfo ¶
func (s *Service) QueryUserInfo(c context.Context, username string) (userInfo *model.User, err error)
QueryUserInfo query user info.
func (*Service) RunVersions ¶
RunVersions Run Versions.
func (*Service) SyncWechatContacts ¶
SyncWechatContacts Sync Wechat Contacts.
func (*Service) UpdateBuglyProject ¶
func (s *Service) UpdateBuglyProject(c context.Context, username string, req *model.AddProjectRequest) (rep map[string]interface{}, err error)
UpdateBuglyProject update bugly project.
func (*Service) UpdateBuglyVersion ¶
func (s *Service) UpdateBuglyVersion(c context.Context, username string, req *model.AddVersionRequest) (rep map[string]interface{}, err error)
UpdateBuglyVersion update Bugly Version.
func (*Service) UpdateCookie ¶
func (s *Service) UpdateCookie(c context.Context, username string, req *model.AddCookieRequest) (rep map[string]interface{}, err error)
UpdateCookie update Cookie.
func (*Service) UpdateCookieStatus ¶
UpdateCookieStatus Update Cookie Status.
func (*Service) UpdateTapdBugPriorityConf ¶
func (s *Service) UpdateTapdBugPriorityConf(c context.Context, username string, req *model.UpdateTapdBugPriorityConfRequest) (rep map[string]interface{}, err error)
UpdateTapdBugPriorityConf Update Tapd Bug Priority Conf.
func (*Service) UpdateTapdBugTpl ¶
func (s *Service) UpdateTapdBugTpl(c context.Context, username string, req *model.UpdateTapdBugTplRequest) (rep map[string]interface{}, err error)
UpdateTapdBugTpl Update Tapd Bug Tpl.
func (*Service) UpdateTapdBugVersionTpl ¶
func (s *Service) UpdateTapdBugVersionTpl(c context.Context, username string, req *model.UpdateTapdBugVersionTplRequest) (rep map[string]interface{}, err error)
UpdateTapdBugVersionTpl Update Tapd Bug Version Tpl.
func (*Service) UpdateTplAsVersionTpl ¶
func (s *Service) UpdateTplAsVersionTpl(tapdBugVersionTemplate *model.TapdBugVersionTemplate, tapdBugTemplate *model.TapdBugTemplate) (err error)
UpdateTplAsVersionTpl Update Tpl As Version Tpl.