gc

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable added in v1.7.0

func Enable(ipv4, ipv6 bool, restoredEndpoints []*endpoint.Endpoint, mgr EndpointManager)

Enable enables the connection tracking garbage collection.

Types

type EndpointManager

type EndpointManager interface {
	GetEndpoints() []*endpoint.Endpoint
}

EndpointManager is any type which returns the list of Endpoints which are globally exposed on the current node.

Jump to

Keyboard shortcuts

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