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 ErrActorGone = errors.New("actor gone")
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, addr vocab.IRI, pubKeyId string) (a vocab.Actor, tags util.ObjectTags, err error) SendActivity(ctx context.Context, a vocab.Activity, inbox vocab.IRI, pubKeyId string) (err error) nodeinfo.Resolver }
func NewService ¶
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.