Help us shape the future of Go! Take the 2026 Go Developer Survey

sessionconnect

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package sessionconnect implements the operator CLI over Mango's native SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, options Options) error

Run owns Input until it returns and closes it on detach. Read-only connections do not consume Input. It never retries a mutation or interrupts on detach.

Types

type Options

type Options struct {
	Client         *mango.Client
	SessionID      string
	Input          io.ReadCloser
	Output         io.Writer
	ReadOnly       bool
	Verbose        bool
	ReconnectDelay time.Duration
}

Jump to

Keyboard shortcuts

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