lpm

package module
v0.0.0-...-b86301c Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: GPL-2.0 Imports: 2 Imported by: 6

README

lpm

A longest prefix match library that supports generic types.

GoDoc

Documentation

Overview

Package lpm implements longest prefix match (LPM).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component []byte

Component is an arbitrary byte sequence.

func NewComponents

func NewComponents(s string) (cs []Component)

NewComponents creates components from percent-encoded form.

See https://en.wikipedia.org/wiki/Percent-encoding.

func (Component) String

func (c Component) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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