Dapr september 2023 security audit reportmap[string]string{ respOpKey: string(req.Operation), respSQLKey: s, respStartTimeKey: startTime.Format(time.RFC3339Nano), }, } switch req.Operation { //nolint:exhaustive case execOperation: r, err := m.exec(ctx queryOperation, closeOperation) } endTime := time.Now() resp.Metadata[respEndTimeKey] = endTime.Format(time.RFC3339Nano) resp.Metadata[respDurationKey] = endTime.Sub(startTime).String() return resp, nil } Recommendation0 码力 | 47 页 | 1.05 MB | 1 年前3
共 1 条
- 1













