client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebmentionClientFailedFetchDiscoveryDocument = "Failed to fetch parse document"
	WebmentionSendFailure                        = "Failed to dispatch webmention"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type WebmentionClient

type WebmentionClient struct {
	// contains filtered or unexported fields
}

func NewWebmentionClient

func NewWebmentionClient() *WebmentionClient

func (*WebmentionClient) DiscoverWebmentionEndpointFromURL

func (wm *WebmentionClient) DiscoverWebmentionEndpointFromURL(url string) (string, error)

func (*WebmentionClient) SendWebmention

func (wm *WebmentionClient) SendWebmention(url string, source string, target string) error

Jump to

Keyboard shortcuts

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