peertracker

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package peertracker provides a wrapper for a Nsmgr that tracks connections received from local Clients Its designed to be used in a DevicePlugin to allow us to properly Close connections on re-Allocate

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(inner nsmgr.Nsmgr, closeAll *func(ctx context.Context, u *url.URL)) nsmgr.Nsmgr

NewServer - Creates a new peer tracker Server

inner - Nsmgr being wrapped
closeAll - pointer to memory location to which you should write a pointer to the function to be called
           to close all connections for the provided url (presuming a unix URL)

Types

This section is empty.

Jump to

Keyboard shortcuts

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