middleware

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(conf *util.AppConfig) wish.Middleware

func MainTui

func MainTui() wish.Middleware

MainTui intercepts CLI commands (non-interactive mode) and passes interactive sessions through to the bubbletea.Middleware.

func TeaHandler added in v1.8.2

func TeaHandler(s ssh.Session) (tea.Model, []tea.ProgramOption)

TeaHandler creates a bubbletea Model and ProgramOptions for each SSH session. Used with wish/v2's bubbletea.Middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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