Package portal provides SSH portals to applications.
const ( // ListenTimeout is the maximum time to start listening on an address. ListenTimeout = 1 * time.Second // IdleTimeout is the maximum time for a connection to be inactive. IdleTimeout = 1 * time.Minute )
Portal is an SSH portal to an application.
New opens an SSH portal to an application.
func (p *Portal) Close()
Close closes the portal immediately.
func (p *Portal) Shutdown()
Shutdown closes the portal without interrupting active connections.