options

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

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

Options class is Options for making link

func New

func New(s makelink.Style, hist *history.HistoryFile, userAgent string) *Options

New returns new Options instance

func (*Options) History

func (c *Options) History() *history.HistoryFile

History method returns history.HistoryFile instance.

func (c *Options) MakeLink(ctx context.Context, urlStr string) (io.Reader, error)

MakeLink is making link

Jump to

Keyboard shortcuts

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