fiddling with federation

This commit is contained in:
tsmethurst 2021-05-02 19:51:12 +02:00
commit 74d5a0588f
15 changed files with 587 additions and 416 deletions

View file

@ -18,7 +18,11 @@
package federation
import "time"
import (
"time"
"github.com/go-fed/activity/pub"
)
/*
GOFED CLOCK INTERFACE
@ -32,3 +36,7 @@ type Clock struct{}
func (c *Clock) Now() time.Time {
return time.Now()
}
func NewClock() pub.Clock {
return &Clock{}
}