Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeInfo2Version = "2.0" NodeInfo2Path = "/" + NodeInfo2Version NodeInfo2ContentType = "application/json; profile=\"http://nodeinfo.diaspora.software/ns/schema/" + NodeInfo2Version + "#\"" )
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) NodeInfo2GETHandler ¶
NodeInfo2GETHandler swagger:operation GET /nodeinfo/2.0 nodeInfoGet
Returns a compliant nodeinfo response to node info queries.
See: https://nodeinfo.diaspora.software/schema.html
--- tags: - nodeinfo produces: - application/json; profile="http://nodeinfo.diaspora.software/ns/schema/2.0#" responses: '200': schema: "$ref": "#/definitions/nodeinfo"
Click to show internal directories.
Click to hide internal directories.