Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WebfingerBasePath is the base path for serving webfinger // lookup requests, minus the .well-known prefix WebfingerBasePath = "/webfinger" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(processor *processing.Processor) *Module
func (*Module) WebfingerGETRequest ¶
WebfingerGETRequest swagger:operation GET /.well-known/webfinger webfingerGet
Handles webfinger account lookup requests.
For example, a GET to `https://goblin.technology/.well-known/webfinger?resource=acct:tobi@goblin.technology` would return:
```
{"subject":"acct:tobi@goblin.technology","aliases":["https://goblin.technology/users/tobi","https://goblin.technology/@tobi"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://goblin.technology/@tobi"},{"rel":"self","type":"application/activity+json","href":"https://goblin.technology/users/tobi"}]}
```
--- tags: - .well-known produces: - application/jrd+json responses: '200': schema: "$ref": "#/definitions/wellKnownResponse"
Click to show internal directories.
Click to hide internal directories.