mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
initial client roundtrip estimate on broker
This commit is contained in:
parent
6cecd31fd8
commit
47e1338290
4 changed files with 37 additions and 8 deletions
17
broker/metrics.go
Normal file
17
broker/metrics.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package snowflake_broker
|
||||
|
||||
import (
|
||||
// "golang.org/x/net/internal/timeseries"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Implements Observable
|
||||
type Metrics struct {
|
||||
// snowflakes timeseries.Float
|
||||
clientRoundtripEstimate time.Duration
|
||||
}
|
||||
|
||||
func NewMetrics() *Metrics {
|
||||
m := new(Metrics)
|
||||
return m
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue