Documentation ¶
Index ¶
- func URLTest(ctx context.Context, link string, detour N.Dialer) (t uint16, err error)
- type History
- type HistoryStorage
- func (s *HistoryStorage) AddListener(listener func()) *list.Element[func()]
- func (s *HistoryStorage) DeleteURLTestHistory(tag string)
- func (s *HistoryStorage) LoadURLTestHistory(tag string) *History
- func (s *HistoryStorage) RemoveListener(element *list.Element[func()])
- func (s *HistoryStorage) StoreURLTestHistory(tag string, history *History)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HistoryStorage ¶
type HistoryStorage struct {
// contains filtered or unexported fields
}
func NewHistoryStorage ¶
func NewHistoryStorage() *HistoryStorage
func (*HistoryStorage) AddListener ¶ added in v1.3.3
func (s *HistoryStorage) AddListener(listener func()) *list.Element[func()]
func (*HistoryStorage) DeleteURLTestHistory ¶
func (s *HistoryStorage) DeleteURLTestHistory(tag string)
func (*HistoryStorage) LoadURLTestHistory ¶
func (s *HistoryStorage) LoadURLTestHistory(tag string) *History
func (*HistoryStorage) RemoveListener ¶ added in v1.3.3
func (s *HistoryStorage) RemoveListener(element *list.Element[func()])
func (*HistoryStorage) StoreURLTestHistory ¶
func (s *HistoryStorage) StoreURLTestHistory(tag string, history *History)
Click to show internal directories.
Click to hide internal directories.