Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "passage",
Short: "Passage - SSH tunnels on steroids",
}
Functions ¶
Types ¶
type GetCommand ¶
type GetCommand struct {
RPCAddr string
}
func NewGetCommand ¶
func NewGetCommand() *GetCommand
func (*GetCommand) Command ¶
func (c *GetCommand) Command() *cobra.Command
type ListenCommand ¶
type ListenCommand struct { User string Addr Addr Server ServerAddr Remote Remote }
func NewListenCommand ¶
func NewListenCommand() *ListenCommand
func (*ListenCommand) Command ¶
func (c *ListenCommand) Command() *cobra.Command
type ServerAddr ¶
type ServerAddr struct {
Addr
}
func (*ServerAddr) Set ¶
func (a *ServerAddr) Set(value string) error
func (*ServerAddr) Type ¶
func (a *ServerAddr) Type() string
type ServerCommand ¶
type ServerCommand struct { LogLevel string LogFile string ConfigFile string Config *server.Config Server *server.Server RPCAddr string RPCServer *server.RPCServer // contains filtered or unexported fields }
func NewServerCommand ¶
func NewServerCommand() *ServerCommand
func (*ServerCommand) Command ¶
func (c *ServerCommand) Command() *cobra.Command
Click to show internal directories.
Click to hide internal directories.