Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityPub ¶ added in v0.7.0
type ActivityPub struct {
// contains filtered or unexported fields
}
func NewActivityPub ¶ added in v0.7.0
func NewActivityPub(db db.DB, p *processing.Processor) *ActivityPub
func (*ActivityPub) Route ¶ added in v0.7.0
func (a *ActivityPub) Route(r *router.Router, m ...gin.HandlerFunc)
func (*ActivityPub) RoutePublicKey ¶ added in v0.7.0
func (a *ActivityPub) RoutePublicKey(r *router.Router, m ...gin.HandlerFunc)
Public key endpoint requires different middleware + cache policies from other AP endpoints.
type Auth ¶ added in v0.7.0
type Auth struct {
// contains filtered or unexported fields
}
type Client ¶ added in v0.7.0
type Client struct {
// contains filtered or unexported fields
}
type Fileserver ¶ added in v0.7.0
type Fileserver struct {
// contains filtered or unexported fields
}
func NewFileserver ¶ added in v0.7.0
func NewFileserver(p *processing.Processor) *Fileserver
func (*Fileserver) Route ¶ added in v0.7.0
func (f *Fileserver) Route( r *router.Router, m ...gin.HandlerFunc, )
Route the "main" fileserver group that handles everything except emojis.
func (*Fileserver) RouteEmojis ¶ added in v0.14.0
func (f *Fileserver) RouteEmojis( r *router.Router, instanceAcctID string, m ...gin.HandlerFunc, )
Route the "emojis" fileserver group to handle emojis specifically.
instanceAccount ID is required because that is the ID under which all emoji files are stored, and from which all emoji file requests are therefore served.
type Metrics ¶ added in v0.13.0
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶ added in v0.13.0
func NewMetrics() *Metrics
type NodeInfo ¶ added in v0.7.0
type NodeInfo struct {
// contains filtered or unexported fields
}
func NewNodeInfo ¶ added in v0.7.0
func NewNodeInfo(p *processing.Processor) *NodeInfo
type WellKnown ¶ added in v0.7.0
type WellKnown struct {
// contains filtered or unexported fields
}
func NewWellKnown ¶ added in v0.7.0
func NewWellKnown(p *processing.Processor) *WellKnown
Source Files ¶
Click to show internal directories.
Click to hide internal directories.