controller

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

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, item *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

func (BotController) GetOutBox

func (bc BotController) GetOutBox(c *echo.Context) error

func (BotController) PostInBox

func (bc BotController) PostInBox(c *echo.Context) error

type NodeInfoController

type NodeInfoController struct{}

func NewNodeInfoController

func NewNodeInfoController() *NodeInfoController

func (NodeInfoController) GetNodeInfoContent

func (nic NodeInfoController) GetNodeInfoContent(c *echo.Context) error

type WellKnownController

type WellKnownController struct{}

func NewWellKnownController

func NewWellKnownController() *WellKnownController

func (WellKnownController) GetNodeInfo

func (wkc WellKnownController) GetNodeInfo(c *echo.Context) error

func (WellKnownController) GetWebfinger

func (wkc WellKnownController) GetWebfinger(c *echo.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL