language

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScpDestinationGrammar

type ScpDestinationGrammar struct {
	User string `parser:"(@Ident \"@\")?"`
	Host string `parser:"@Ident \":\" "`
	Path string `parser:"@Ident?"`
}

1. host:path 2. host: 3. user@host:path 4. user@host:

func ParseScpDestination

func ParseScpDestination(input string) (*ScpDestinationGrammar, error)

Jump to

Keyboard shortcuts

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