netapp

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Transport         *transport.Transport
	HTTPHandler       map[string]http.HandlerFunc
	TunnelDeviceTable map[string]*tuntable.PeerTable
	TunnelTracker     TunnelTrackerFunc

	// For Android library
	Device tun.Device
}

func NewContext

func NewContext(IdleUDPTimeout time.Duration, xConfig *xconn.Config, EnableGRO bool) *Context

func (*Context) Clone

func (c *Context) Clone() *Context

func (*Context) Serve

func (tunnelContext *Context) Serve(ctx context.Context, srcURL, dstURL *url.URL) error

type TunnelTrackerFunc

type TunnelTrackerFunc func(SourceURL *url.URL, DestinationURLs []*url.URL) io.Closer

Jump to

Keyboard shortcuts

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