history

package
v0.0.0-...-af80692 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: GPL-3.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 History

type History struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func FromJSON

func FromJSON(in io.Reader) ([]*History, error)

func (*History) Add

func (h *History) Add(surl string)

func (*History) Back

func (h *History) Back() (string, int, bool)

func (*History) Current

func (h *History) Current() (string, int)

func (*History) Forward

func (h *History) Forward() (string, int, bool)

func (*History) Status

func (h *History) Status() string

func (*History) ToJSON

func (h *History) ToJSON(out io.Writer) error

func (*History) UpdateScroll

func (h *History) UpdateScroll(pos int)

type URL

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

Jump to

Keyboard shortcuts

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