Versions in this module Expand all Collapse all v1 v1.0.0 Aug 9, 2018 Changes in this version + const NodeInfoPath + const ProtocolActivityPub + const ProtocolBuddyCloud + const ProtocolDFRN + const ProtocolDisaspora + const ProtocolLibertree + const ProtocolOStatus + const ProtocolPumpIO + const ProtocolTent + const ProtocolXMPP + const ProtocolZot + const ServiceAtom + const ServiceGNUSocial + const ServiceIMAP + const ServicePOP3 + const ServicePnut + const ServicePumpIO + const ServiceRSS + const ServiceTumblr + const ServiceTwitter + type Config struct + BaseURL string + InfoURL string + Metadata Metadata + Protocols []NodeProtocol + Services Services + Software SoftwareInfo + type Metadata struct + NodeDescription string + NodeName string + Private bool + Software SoftwareMeta + type NodeInfo struct + Metadata Metadata + OpenRegistrations bool + Protocols []NodeProtocol + Services Services + Software SoftwareInfo + Usage Usage + Version string + type NodeProtocol string + type NodeService string + type Resolver interface + IsOpenRegistration func() (bool, error) + Usage func() (Usage, error) + type Service struct + Info NodeInfo + InfoURL string + func NewService(cfg Config, r Resolver) *Service + func (s *Service) NodeInfo(w http.ResponseWriter, r *http.Request) + func (s *Service) NodeInfoDiscover(w http.ResponseWriter, r *http.Request) + func (s Service) BuildInfo() NodeInfo + type Services struct + Inbound []NodeService + Outbound []NodeService + type SoftwareInfo struct + Name string + Version string + type SoftwareMeta struct + Follow string + GitHub string + HomePage string + type Usage struct + LocalComments int + LocalPosts int + Users UsageUsers + type UsageUsers struct + ActiveHalfYear int + ActiveMonth int + Total int