mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-18 02:16:35 +00:00

Additionally adds support for the connection index as a label for the datagram v3 specific tunnel metrics. Closes TUN-9322
11 lines
524 B
Go
11 lines
524 B
Go
package v3_test
|
|
|
|
type noopMetrics struct{}
|
|
|
|
func (noopMetrics) IncrementFlows(connIndex uint8) {}
|
|
func (noopMetrics) DecrementFlows(connIndex uint8) {}
|
|
func (noopMetrics) PayloadTooLarge(connIndex uint8) {}
|
|
func (noopMetrics) RetryFlowResponse(connIndex uint8) {}
|
|
func (noopMetrics) MigrateFlow(connIndex uint8) {}
|
|
func (noopMetrics) UnsupportedRemoteCommand(connIndex uint8, command string) {}
|