models

package
v0.0.0-...-e647751 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	HRef string `json:"href"`
	Rel  string `json:"rel"`
	Type string `json:"type"`
}

Link represents a link in an api response.

type NodeInfo

type NodeInfo struct {
	Links []Link `json:"links"`
}

NodeInfo is a federated nodeinfo object.

type NodeInfo2

type NodeInfo2 struct {
	Software NodeInfo2Software `json:"software"`
}

NodeInfo2 is a federated nodeinfo 2.0 object.

type NodeInfo2Software

type NodeInfo2Software struct {
	Name string `json:"name"`
}

NodeInfo2Software is the software section of a nodeinfo 2.0 object.

type WebFinger

type WebFinger struct {
	Subject string   `json:"subject"`
	Aliases []string `json:"aliases"`
	Links   []Link   `json:"links"`
}

WebFinger is a web finger response.

Jump to

Keyboard shortcuts

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