mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 01:12:25 -05:00
fiddling with federation
This commit is contained in:
parent
07268e6f1e
commit
74d5a0588f
15 changed files with 587 additions and 416 deletions
|
|
@ -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{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue