Documentation ¶
Index ¶
- type Dispatcher
- func (dispatcher *Dispatcher) Comment(comment models.Comment)
- func (dispatcher *Dispatcher) Contact(contact models.AspectMembership)
- func (dispatcher *Dispatcher) Like(like models.Like)
- func (dispatcher *Dispatcher) RelayComment(entity federation.MessageComment)
- func (dispatcher *Dispatcher) RelayLike(entity federation.MessageLike)
- func (dispatcher *Dispatcher) RelayRetraction(entity federation.MessageRetract)
- func (dispatcher Dispatcher) Run()
- func (dispatcher *Dispatcher) StatusMessage(post models.Post)
- type FetchAuthor
- type Receiver
- func (receiver *Receiver) CheckAuthor(author string) (models.Person, bool)
- func (receiver *Receiver) Comment(entity federation.MessageComment)
- func (receiver *Receiver) Contact(entity federation.MessageContact)
- func (receiver *Receiver) Like(entity federation.MessageLike)
- func (receiver *Receiver) Profile(entity federation.MessageProfile)
- func (receiver *Receiver) Reshare(entity federation.MessageReshare)
- func (r *Receiver) Retraction(entity federation.MessageRetract)
- func (receiver Receiver) Run()
- func (receiver *Receiver) StatusMessage(entity federation.MessagePost)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
func (*Dispatcher) Comment ¶
func (dispatcher *Dispatcher) Comment(comment models.Comment)
func (*Dispatcher) Contact ¶
func (dispatcher *Dispatcher) Contact(contact models.AspectMembership)
func (*Dispatcher) Like ¶
func (dispatcher *Dispatcher) Like(like models.Like)
func (*Dispatcher) RelayComment ¶
func (dispatcher *Dispatcher) RelayComment(entity federation.MessageComment)
func (*Dispatcher) RelayLike ¶
func (dispatcher *Dispatcher) RelayLike(entity federation.MessageLike)
func (*Dispatcher) RelayRetraction ¶
func (dispatcher *Dispatcher) RelayRetraction(entity federation.MessageRetract)
func (Dispatcher) Run ¶
func (dispatcher Dispatcher) Run()
func (*Dispatcher) StatusMessage ¶
func (dispatcher *Dispatcher) StatusMessage(post models.Post)
type FetchAuthor ¶
func (*FetchAuthor) Run ¶
func (fetch *FetchAuthor) Run()
type Receiver ¶
type Receiver struct { Message federation.Message Guid string }
func (*Receiver) CheckAuthor ¶
func (*Receiver) Comment ¶
func (receiver *Receiver) Comment(entity federation.MessageComment)
func (*Receiver) Contact ¶
func (receiver *Receiver) Contact(entity federation.MessageContact)
func (*Receiver) Like ¶
func (receiver *Receiver) Like(entity federation.MessageLike)
func (*Receiver) Profile ¶
func (receiver *Receiver) Profile(entity federation.MessageProfile)
func (*Receiver) Reshare ¶
func (receiver *Receiver) Reshare(entity federation.MessageReshare)
func (*Receiver) Retraction ¶
func (r *Receiver) Retraction(entity federation.MessageRetract)
func (*Receiver) StatusMessage ¶
func (receiver *Receiver) StatusMessage(entity federation.MessagePost)
Source Files ¶
- dispatch_comment.go
- dispatch_contact.go
- dispatch_like.go
- dispatch_post.go
- dispatcher.go
- fetch_author.go
- receive_comment.go
- receive_contact.go
- receive_like.go
- receive_post.go
- receive_profile.go
- receive_retraction.go
- receiver.go
- recovery.go
- relay_comment.go
- relay_like.go
- relay_retraction.go
- session.go
Click to show internal directories.
Click to hide internal directories.