Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrActivitySend = errors.New("failed to send activity")
View Source
var ErrActorFetch = errors.New("failed to get the actor")
View Source
var ErrActorWebFinger = errors.New("failed to get the webfinger data for actor")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { ResolveActorLink(ctx context.Context, host, name string) (self vocab.IRI, err error) FetchActor(ctx context.Context, self vocab.IRI) (a vocab.Actor, err error) SendActivity(ctx context.Context, a vocab.Activity, inbox vocab.IRI) (err error) }
func NewService ¶
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.