Versions in this module Expand all Collapse all v1 v1.1.0 Feb 1, 2023 Changes in this version + const MASTODON_API_STATUS + const MATCH_TEMPLATE + const POST_TEMPLATE + var Servers = struct{ ... } + func Init() + type ActivityPub struct + func (ap *ActivityPub) DetectServerSoftware() (server ServerSoftware, err error) + func (ap *ActivityPub) ExtractSignature() (err error) + func (ap *ActivityPub) GeneratePostPayload() (_ map[string]string) + func (ap *ActivityPub) GenerateSignPayload() (payload string) + func (ap *ActivityPub) GetMastodonText() (err error) + func (ap *ActivityPub) GetMisskeyText() (err error) + func (ap *ActivityPub) SplitID() (username, server string, err error) + func (ap *ActivityPub) Validate() (err error) + type MastodonResponse struct + Account MastodonResponseAccount + Content string + type MastodonResponseAccount struct + Id string + Username string + type NodeInfo struct + Links []NodeInfoLink + type NodeInfoLink struct + Href string + Rel string + type ServerSoftware string