diff options
| author | 2025-09-17 14:48:09 +0200 | |
|---|---|---|
| committer | 2025-09-17 14:48:09 +0200 | |
| commit | e81bcb51717aa318b02996b846b3fe8cc733af18 (patch) | |
| tree | af43449e79d6d607669b78ce5b5ced1fd7acb04c /vendor/golang.org/x/net/http2/timer.go | |
| parent | [chore] remove nollamas middleware for now (after discussions with a security... (diff) | |
| download | gotosocial-e81bcb51717aa318b02996b846b3fe8cc733af18.tar.xz | |
[chore] update dependencies (#4441)
- modernc.org/sqlite v1.38.2 -> v1.39.0 (w/ concurrency workaround)
- golang.org/x/net v0.43.0 -> v0.44.0
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4441
Reviewed-by: tobi <kipvandenbos@noreply.codeberg.org>
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/golang.org/x/net/http2/timer.go')
| -rw-r--r-- | vendor/golang.org/x/net/http2/timer.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/golang.org/x/net/http2/timer.go b/vendor/golang.org/x/net/http2/timer.go deleted file mode 100644 index 0b1c17b81..000000000 --- a/vendor/golang.org/x/net/http2/timer.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. -package http2 - -import "time" - -// A timer is a time.Timer, as an interface which can be replaced in tests. -type timer = interface { - C() <-chan time.Time - Reset(d time.Duration) bool - Stop() bool -} - -// timeTimer adapts a time.Timer to the timer interface. -type timeTimer struct { - *time.Timer -} - -func (t timeTimer) C() <-chan time.Time { return t.Timer.C } |
