single

package
v0.38.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package single combines connect.EndpointAcceptor and connect.TunnelAcceptor into Acceptor allowing to run WatchService and TunnelService in the same instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

func New

func New(opts Options) (Listener, error)

type Options

type Options struct {
	ServerRegistry          proxy.ServerRegistry // Registry used to un-/register servers
	PublicTunnelServiceAddr string               // The tunnel service address announced endpoints.
	OverrideRegistration    bool                 // Overrides endpoints with the same name.
}

Jump to

Keyboard shortcuts

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