urltest

package
v1.13.21 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: GPL-2.0 Imports: 14 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URLTest

func URLTest(ctx context.Context, link string, detour N.Dialer) (uint16, error)

Types

type HistoryStorage

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

func NewHistoryStorage

func NewHistoryStorage() *HistoryStorage

func (*HistoryStorage) Close added in v1.4.0

func (s *HistoryStorage) Close() error

func (*HistoryStorage) DeleteURLTestHistory

func (s *HistoryStorage) DeleteURLTestHistory(tag string)

func (*HistoryStorage) LoadURLTestHistory

func (s *HistoryStorage) LoadURLTestHistory(tag string) *adapter.URLTestHistory

func (*HistoryStorage) SetHook added in v1.4.0

func (s *HistoryStorage) SetHook(hook *observable.Subscriber[struct{}])

func (*HistoryStorage) StoreURLTestHistory

func (s *HistoryStorage) StoreURLTestHistory(tag string, history *adapter.URLTestHistory)

Jump to

Keyboard shortcuts

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