webfinger

package
v0.0.0-...-30adf6a Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package webfinger implements WebFinger, as defined in https://tools.ietf.org/html/rfc7033.

Index

Constants

View Source
const (
	WellKnownName         = "webfinger"
	WellKnownPath         = "/.well-known/webfinger"
	WellKnownPathTemplate = "/.well-known/webfinger?resource={uri}"
)
View Source
const RelProfilePage = "http://webfinger.net/rel/profile-page"

RelProfilePage is the profile-page relation.

Variables

This section is empty.

Functions

func Get

func Get(domain, resourceURI string) (*xrd.Resource, error)

func NewHandler

func NewHandler(be Backend) http.Handler

Types

type Backend

type Backend interface {
	Resource(uri string, rel []string) (*xrd.Resource, error)
}

Jump to

Keyboard shortcuts

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