args

package
v0.0.0-...-623c833 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayArg

type ArrayArg []string

func (*ArrayArg) Set

func (a *ArrayArg) Set(value string) error

func (*ArrayArg) String

func (a *ArrayArg) String() string

type Session

type Session struct {
	User       string
	Host       string
	Port       string
	Command    string
	Subsystem  string
	PublicKey  string
	RemoteAddr string
}

func NewSession

func NewSession(s ssh.Session) *Session

func (*Session) FormatArg

func (s *Session) FormatArg(arg string) string

func (*Session) FormatArgs

func (s *Session) FormatArgs(args []string) []string

Jump to

Keyboard shortcuts

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