resolve

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoResults = errors.New("no search results")

NoResults indicated we didn't find anything. This shouldn't stop a bulk operation.

Functions

func Account

func Account(authClient *auth.Client, accountOrURL string) (*models.Account, error)

Account uses the search API to resolve an account. The account can be a URL, or a @-prefixed username with optional domain.

func Status

func Status(authClient *auth.Client, url string) (*models.Status, error)

Status uses the search API to resolve a status by URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳