diff options
Diffstat (limited to 'internal/handler/websocket/handler_test.go')
| -rw-r--r-- | internal/handler/websocket/handler_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/handler/websocket/handler_test.go b/internal/handler/websocket/handler_test.go index 604a190..2ef72fd 100644 --- a/internal/handler/websocket/handler_test.go +++ b/internal/handler/websocket/handler_test.go | |||
| @@ -98,6 +98,7 @@ func (m *mockMetrics) RecordRequest(method, status string, duration float64) { | |||
| 98 | m.requests[key]++ | 98 | m.requests[key]++ |
| 99 | } | 99 | } |
| 100 | func (m *mockMetrics) RecordAuthAttempt(success bool) {} | 100 | func (m *mockMetrics) RecordAuthAttempt(success bool) {} |
| 101 | func (m *mockMetrics) RecordRateLimitHit(authenticated bool) {} | ||
| 101 | func (m *mockMetrics) RecordBlockedEvent(kind int32) { | 102 | func (m *mockMetrics) RecordBlockedEvent(kind int32) { |
| 102 | m.mu.Lock() | 103 | m.mu.Lock() |
| 103 | defer m.mu.Unlock() | 104 | defer m.mu.Unlock() |
