chore: refresh gramsrv public release

This commit is contained in:
A 2026-06-30 14:37:43 +08:00
parent 75cebe8dbf
commit 70b6820474
1274 changed files with 378751 additions and 59919 deletions

View file

@ -0,0 +1,22 @@
package rpc
import (
"github.com/gotd/td/clock"
"time"
)
type fixedClock struct {
now time.Time
}
func (c fixedClock) Now() time.Time {
return c.now
}
func (c fixedClock) Timer(d time.Duration) clock.Timer {
return clock.System.Timer(d)
}
func (c fixedClock) Ticker(d time.Duration) clock.Ticker {
return clock.System.Ticker(d)
}