Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Post LoginUri = "/v1/login" // Post TriggerAudit = "/v1/audit_plans/%s/trigger" // Post FullUpload = "/v1/audit_plans/%s/sqls/full" // Post PartialUpload = "/v1/audit_plans/%s/sqls/partial" // Get %v=report_id GetAuditReport = "/v2/audit_plans/%s/report/%v/?page_index=%d&page_size=%d" )
%s = audit plan name
View Source
const (
DefaultTimeout = time.Second * 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditPlanSQLReq ¶
type AuditPlanSQLReq = v1.AuditPlanSQLReqV1
type BaseRes ¶
type BaseRes = controller.BaseRes
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAuditReportReq ¶
func (*Client) TriggerAuditReq ¶
type FullSyncAuditPlanSQLsReq ¶
type FullSyncAuditPlanSQLsReq = v1.FullSyncAuditPlanSQLsReqV1
type GetAuditPlanReportSQLsRes ¶
type GetAuditPlanReportSQLsRes = v2.GetAuditPlanReportSQLsResV2
type PartialSyncAuditPlanSQLsReq ¶
type PartialSyncAuditPlanSQLsReq = v1.PartialSyncAuditPlanSQLsReqV1
type TriggerAuditPlanRes ¶
type TriggerAuditPlanRes = v1.TriggerAuditPlanResV1
Click to show internal directories.
Click to hide internal directories.