utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSigners

func CreateSigners(privateKeys [][]byte) ([]ssh.Signer, error)

func CreateUptermDir

func CreateUptermDir() (string, error)

func DefaultLocalhost

func DefaultLocalhost(defaultPort string) string

func FingerprintSHA256

func FingerprintSHA256(key ssh.PublicKey) string

func GenerateSessionID

func GenerateSessionID() string

func OpenHostLogFile

func OpenHostLogFile() (*os.File, error)

func ReadFiles

func ReadFiles(paths []string) ([][]byte, error)

func UptermDir

func UptermDir() (string, error)

func WaitForServer

func WaitForServer(addr string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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