webfinger

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package webfinger identifies values that seem like usernames and uses WebFinger to try to resolve them into ActivityPub URLs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(innerClient streams.Client, options ...remote.Option) streams.Client

New returns a fully populated WebFinger client.

Types

type Client

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

Client implements a WebFinger "middleware" that identifies Webfinger-looking URIs and converts them into

func (Client) Delete

func (client Client) Delete(uri string) error

Load attempts to retrieve the URI from the Interweb, translating WebFinger @handles into proper URLs if possible.

func (Client) Load

func (client Client) Load(id string, options ...any) (streams.Document, error)

Load attempts to retrieve the URI from the Interweb, translating WebFinger @handles into proper URLs if possible.

func (Client) Save

func (client Client) Save(document streams.Document) error

func (Client) SetRootClient

func (client Client) SetRootClient(rootClient streams.Client)

type ClientOption

type ClientOption func(*Client)

Jump to

Keyboard shortcuts

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