Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FedController ¶
type FedController struct {
// contains filtered or unexported fields
}
FedController holds the dependencies for the federation handler
func NewFedController ¶
func NewFedController(log zerolog.Logger, storage *sqlx.DB) *FedController
NewFedController returns a new FedController
func (*FedController) Follow ¶
func (fc *FedController) Follow(c *fiber.Ctx) error
Follow handles incoming follow requests
func (*FedController) In ¶
func (fc *FedController) In(c *fiber.Ctx) error
In handles incoming messages, then routes them to the appropriate handler
func (*FedController) Unknown ¶
func (fc *FedController) Unknown(c *fiber.Ctx) error
Unknown handles unknown activity types
Click to show internal directories.
Click to hide internal directories.