static

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

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

func NewRoute

func NewRoute(rt *route.Route, routeRefCounter *refcounter.RouteRefCounter, allowedIPsRefCounter *refcounter.AllowedIPsRefCounter) *Route

func (*Route) AddAllowedIPs

func (r *Route) AddAllowedIPs(peerKey string) error

func (*Route) AddRoute

func (r *Route) AddRoute(context.Context) error

func (*Route) RemoveAllowedIPs

func (r *Route) RemoveAllowedIPs() error

func (*Route) RemoveRoute

func (r *Route) RemoveRoute() error

func (*Route) String

func (r *Route) String() string

Route route methods

Jump to

Keyboard shortcuts

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