Documentation
¶
Index ¶
Constants ¶
View Source
const NodeInfoPath = "/nodeinfo/2.0"
Variables ¶
This section is empty.
Functions ¶
func BotsMiddleware ¶
func BotsMiddleware(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
type ActivityBinder ¶
type ActivityBinder struct{}
func (ActivityBinder) Bind ¶
func (ab ActivityBinder) Bind(c *echo.Context, itemPtr *activitypub.Item) error
type BotController ¶
type BotController struct {
// contains filtered or unexported fields
}
func NewBotController ¶
func NewBotController(buc usecase.IBotUseCase) *BotController
func (BotController) GetByUserName ¶
func (bc BotController) GetByUserName(c *echo.Context) error
func (BotController) GetEndPoints ¶
func (bc BotController) GetEndPoints(c *echo.Context) error
type HostMetaData ¶ added in v0.2.0
type HostMetaData struct {
XMLName xml.Name `xml:"XRD"`
Xmlns string `xml:"xmlns,attr"`
Link HostMetaLink `xml:"Link"`
}
type HostMetaLink ¶ added in v0.2.0
type NodeInfoController ¶
type NodeInfoController struct{}
func NewNodeInfoController ¶
func NewNodeInfoController() *NodeInfoController
func (NodeInfoController) GetNodeInfoContent ¶
func (nic NodeInfoController) GetNodeInfoContent(c *echo.Context) error
func (NodeInfoController) GetNodeInfoDiscover ¶ added in v0.2.0
func (nic NodeInfoController) GetNodeInfoDiscover(c *echo.Context) error
type WellKnownController ¶
type WellKnownController struct{}
func NewWellKnownController ¶
func NewWellKnownController() *WellKnownController
func (WellKnownController) GetHostMeta ¶ added in v0.2.0
func (wkc WellKnownController) GetHostMeta(c *echo.Context) error
func (WellKnownController) GetWebfinger ¶
func (wkc WellKnownController) GetWebfinger(c *echo.Context) error
Click to show internal directories.
Click to hide internal directories.