Documentation
¶
Index ¶
- func IncomingWebMention(w http.ResponseWriter, r *http.Request)
- func Mentions(w http.ResponseWriter, r *http.Request)
- func Thumbnail(w http.ResponseWriter, r *http.Request)
- func Triage(w http.ResponseWriter, r *http.Request)
- func UpdateMention(w http.ResponseWriter, r *http.Request)
- func VerifyQueuedMentions(ctx context.Context, ps PubSubMessage) error
- type MentionsContext
- type PubSubMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncomingWebMention ¶
func IncomingWebMention(w http.ResponseWriter, r *http.Request)
IncomingWebMention handles incoming Webmentions.
func Mentions ¶
func Mentions(w http.ResponseWriter, r *http.Request)
Mentions returns HTML describing all the good Webmentions for the given URL.
func Triage ¶
func Triage(w http.ResponseWriter, r *http.Request)
Triage displays the triage page for Webmentions.
func UpdateMention ¶
func UpdateMention(w http.ResponseWriter, r *http.Request)
UpdateMention updates the triage state of a webmention. Called from the Triage page.
func VerifyQueuedMentions ¶
func VerifyQueuedMentions(ctx context.Context, ps PubSubMessage) error
VerifyQueuedMentions verifies untriaged webmentions.
Should be called on a timer.
Types ¶
type MentionsContext ¶
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.