manpages

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URLMap

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

func New

func New(cfg *config.Config, logger *log.Logger) *URLMap

func (*URLMap) Get

func (m *URLMap) Get(section string, page string) (string, bool)

func (*URLMap) Open

func (m *URLMap) Open() errors.E

Open loads the manpage URLs from the JSON file

func (*URLMap) Update

func (m *URLMap) Update(
	ctx context.Context,
	source *config.Source,
) errors.E

Jump to

Keyboard shortcuts

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