(dblogs []database.GetConnectionLogsOffsetRow)
| 90 | } |
| 91 | |
| 92 | func convertConnectionLogs(dblogs []database.GetConnectionLogsOffsetRow) []codersdk.ConnectionLog { |
| 93 | clogs := make([]codersdk.ConnectionLog, 0, len(dblogs)) |
| 94 | |
| 95 | for _, dblog := range dblogs { |
| 96 | clogs = append(clogs, convertConnectionLog(dblog)) |
| 97 | } |
| 98 | return clogs |
| 99 | } |
| 100 | |
| 101 | func convertConnectionLog(dblog database.GetConnectionLogsOffsetRow) codersdk.ConnectionLog { |
| 102 | var ip *netip.Addr |
no test coverage detected