gate

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListenTimeout = 1 * time.Second
	IdleTimeout   = 1 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Portal

type Portal struct {
	Name    string
	Address string
	Command []string
	Server  *ssh.Server
}

func NewPortal

func NewPortal(name string, address string, command []string) (*Portal, error)

func (*Portal) Shutdown

func (p *Portal) Shutdown()

Jump to

Keyboard shortcuts

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