appc

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: BSD-3-Clause Imports: 20 Imported by: 1

Documentation

Overview

Package appc implements App Connectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server implements an App Connector.

func (*Server) Configure

func (s *Server) Configure(cfg *appctype.AppConnectorConfig)

Configure applies the provided configuration to the app connector.

func (*Server) HandleDNS

func (s *Server) HandleDNS(c nettype.ConnPacketConn)

HandleDNS handles a DNS request to the app connector.

func (*Server) HandleTCPFlow

func (s *Server) HandleTCPFlow(src, dst netip.AddrPort) (handler func(net.Conn), intercept bool)

HandleTCPFlow implements tsnet.FallbackTCPHandler.

Jump to

Keyboard shortcuts

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