Documentation ¶
Index ¶
- func Access(fr ForwardingRoutable, router *routertwo.Router) *cobra.Command
- func Autossh(d Forwarding) *cobra.Command
- func Close(c io.Closer) *cobra.Command
- func Firsttime() *cobra.Command
- func Forwards(d Forwarding) *cobra.Command
- func Host(r routertwo.Routable, router *routertwo.Router) *cobra.Command
- func Session(d Forwarding) *cobra.Command
- func Unitfile(d Forwarding) *cobra.Command
- func Version() *cobra.Command
- func Whoami(r routertwo.Routable) *cobra.Command
- type Forwarding
- type ForwardingRoutable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access(fr ForwardingRoutable, router *routertwo.Router) *cobra.Command
Access returns a *cobra.Command which tells the user how to access services
func Autossh ¶
func Autossh(d Forwarding) *cobra.Command
Autossh returns a *cobra.Command which generates an autossh snippit
func Firsttime ¶
Firsttime returns a *cobra.Command which tells the user about what remotemoe tries to solve
func Forwards ¶
func Forwards(d Forwarding) *cobra.Command
Forwards returns a *cobra.Command which tells the user about currently forwarded ports
func Session ¶
func Session(d Forwarding) *cobra.Command
Session returns a command that tells the user information about the current session
func Unitfile ¶
func Unitfile(d Forwarding) *cobra.Command
Unitfile returns a cobra.Command that generates a systemd unit file based on the current session
Types ¶
type Forwarding ¶
type Forwarding interface {
Forwards() map[uint32]struct{}
}
Forwarding are things that forwards ports
type ForwardingRoutable ¶
type ForwardingRoutable interface { routertwo.Routable Forwarding }
ForwardingRoutable is an interface for things that are routable and provides forwards
Source Files ¶
Click to show internal directories.
Click to hide internal directories.