autolinkclient

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	http.Client
}

func NewClientPlugin

func NewClientPlugin(api PluginAPI) *Client

func (*Client) Add

func (c *Client) Add(links ...autolink.Autolink) error

func (*Client) Delete

func (c *Client) Delete(autolinkName string) error

func (*Client) Get

func (c *Client) Get(autolinkName string) error

type PluginAPI

type PluginAPI interface {
	PluginHTTP(*http.Request) *http.Response
}

Jump to

Keyboard shortcuts

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