ap

package
v0.0.0-...-41cd4ca Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module is an http module that handles activity pub activity.

func New

func New(ctx context.Context, l logic.Logic, r runner.Runner) (*Module, error)

New creates a new activity pub module.

func (*Module) Name

func (m *Module) Name() string

Name return the module name.

func (*Module) Route

func (m *Module) Route(s *ihttp.Server) error

Route attaches routes to the web server.

Jump to

Keyboard shortcuts

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