route

package
v0.0.0-...-15eab7b Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(local, gw *net.IPNet, routes, excludeRoutes string) ([]*net.IPNet, error)

Types

type Handler

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

func New

func New(name string, routes []*net.IPNet, gw net.IP, priority int) (*Handler, error)

func (*Handler) Add

func (h *Handler) Add()

func (*Handler) Del

func (h *Handler) Del()

Jump to

Keyboard shortcuts

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