inbound

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package inbound defines the inbound port interfaces for the proxy core. Inbound adapters (stdio, HTTP) call these interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyService

type ProxyService interface {
	// Start begins proxying between client and upstream server.
	// Blocks until context is cancelled or an error occurs.
	// Returns nil on graceful shutdown, error on failure.
	Start(ctx context.Context) error

	// Close gracefully shuts down the proxy and cleans up resources.
	Close() error
}

ProxyService is the inbound port for the proxy core. Inbound adapters (stdio, HTTP) call this interface.

Jump to

Keyboard shortcuts

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