internal

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() (config map[string]interface{})

func GetProfiles

func GetProfiles() (profiles map[string]Profile)

func GetTerminalSize

func GetTerminalSize() (width, height int)

func GetUserInput

func GetUserInput() (text string)

func ParseUserAndHost

func ParseUserAndHost(target string) (user, host string)

func SetConfig

func SetConfig(config map[string]interface{})

func SetProfiles

func SetProfiles(profiles map[string]Profile)

Types

type Profile

type Profile struct {
	Hostname string
	Port     int
	Username string
	Keyfile  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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