server

package
v0.1.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts *Options) error

Types

type Options

type Options struct {
	Port            int
	SocketPath      string
	Client          *tmux.Client
	StateMgr        *state.Manager
	Tracker         *toolevents.Tracker
	ActivityTracker *activity.Tracker
	PushKeys        *webpush.VAPIDKeys
	PushStore       *webpush.Store
	PrefStore       *preferences.Store
	AuthEnabled     bool
	PasswordStore   *auth.PasswordStore
	SessionMgr      *auth.SessionManager
	TLSConfig       *tls.Config
	TLSFingerprint  string // hex SHA256 of leaf TLS cert (set automatically)
	CertReloader    *tlscert.CertReloader
	CACertPEM       string // CA certificate PEM for pairing (empty when using external certs)
	PeerMgr         *peer.Manager
	PeerHandler     *peer.Handler
	PairingMgr      *identity.PairingManager
	PTYRelay        *peer.PTYRelay
	Detector        *toolevents.Detector
	LocalOnly       bool
}

Jump to

Keyboard shortcuts

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