ssh

package
v2.0.0-...-2d1c3d5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package ssh resolves local SSH hostname aliases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator struct {
	// contains filtered or unexported fields
}

func NewTranslator

func NewTranslator() *Translator

NewTranslator initializes a new Translator instance.

func (*Translator) Translate

func (t *Translator) Translate(u *url.URL) *url.URL

Translate applies applicable SSH hostname aliases to the specified URL and returns the resulting URL.

Jump to

Keyboard shortcuts

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