webfinger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Boards []Board
View Source
var FollowingBoards []activitypub.ObjectBase

Functions

func GetActorByNameFromBoardCollection

func GetActorByNameFromBoardCollection(name string) activitypub.Actor

func GetActorFromPath

func GetActorFromPath(location string, prefix string) (activitypub.Actor, error)

func StartupArchive

func StartupArchive() error

Types

type Board

type Board struct {
	Name        string
	Actor       activitypub.Actor
	Summary     string
	PrefName    string
	InReplyTo   string
	Location    string
	To          string
	RedirectTo  string
	Captcha     string
	CaptchaCode string
	ModCred     string
	Domain      string
	TP          string
	Restricted  bool
	Post        activitypub.ObjectBase
	BoardType   string
}

func GetBoardCollection

func GetBoardCollection() ([]Board, error)

type BoardSortAsc

type BoardSortAsc []Board

func (BoardSortAsc) Len

func (a BoardSortAsc) Len() int

func (BoardSortAsc) Less

func (a BoardSortAsc) Less(i, j int) bool

func (BoardSortAsc) Swap

func (a BoardSortAsc) Swap(i, j int)

Jump to

Keyboard shortcuts

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