Documentation ¶ Index ¶ type Sender func NewSender(config *instance.FederationConfig, webfingerClient *webfinger.Client, ...) *Sender func (s *Sender) DoRequest(req *http.Request) (map[string]interface{}, error) func (s *Sender) GetSignedRequest(fromActorIRI *url.URL, url string) (*http.Request, error) func (s *Sender) SendFollowRequest(follow *models.Follow) error func (s *Sender) SendToUser(inbox *url.URL, payload []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Sender ¶ type Sender struct { // contains filtered or unexported fields } func NewSender ¶ func NewSender( config *instance.FederationConfig, webfingerClient *webfinger.Client, resolver *remote.Resolver, signer *crypto.Signer, ) *Sender func (*Sender) DoRequest ¶ func (s *Sender) DoRequest(req *http.Request) (map[string]interface{}, error) func (*Sender) GetSignedRequest ¶ func (s *Sender) GetSignedRequest(fromActorIRI *url.URL, url string) (*http.Request, error) func (*Sender) SendFollowRequest ¶ func (s *Sender) SendFollowRequest(follow *models.Follow) error func (*Sender) SendToUser ¶ func (s *Sender) SendToUser(inbox *url.URL, payload []byte) error Source Files ¶ View all Source files sender.go Click to show internal directories. Click to hide internal directories.