mapper

package
v0.3.1-rc.6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipResolveDomain = errors.New("skip resolver domain")

Functions

This section is empty.

Types

type Combine

type Combine[T any] struct {
	// contains filtered or unexported fields
}

func NewMapper

func NewMapper[T any]() *Combine[T]

func (*Combine[T]) Clear

func (x *Combine[T]) Clear() error

func (*Combine[T]) Insert

func (x *Combine[T]) Insert(str string, mark T)

func (*Combine[T]) Search

func (x *Combine[T]) Search(addr proxy.Address) (mark T, ok bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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