session

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package session orchestrates the full lifecycle of a tunnel session: tunnel infrastructure, DNS routing, and Cloudflare Access protection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(
	tunnel *domain.Tunnel,
	ingress *domain.Ingress,
	access *domain.Access,
	dnsService dnsusecase.DNSRouter,
	tunnelCreator tunnelusecase.TunnelCreator,
	tunnelConfigurator tunnelusecase.TunnelConfigurator,
	tunnelRunner tunnelusecase.TunnelRunner,
	accessService accessusecase.AccessManager,
	policyService accessusecase.PolicyManager,
) *Service

func (*Service) Start

func (s *Service) Start(ctx context.Context) error

func (*Service) Stop

func (s *Service) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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