tombstone

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func New

func New(innerClient streams.Client) *Client

New returns a fully initialized Client object

func (*Client) Delete

func (client *Client) Delete(url string) error

Delete removes a single document from the cache

func (*Client) Load

func (client *Client) Load(url string, options ...any) (streams.Document, error)

Load retrieves a URL from the cache/interweb, returning it as a streams.Document

func (*Client) Save

func (client *Client) Save(document streams.Document) error

func (*Client) SetRootClient

func (client *Client) SetRootClient(rootClient streams.Client)

SetRootClient applies a "top level" client (which is needed by some hannibal client implementations)

Jump to

Keyboard shortcuts

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