Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants type Server func NewContainerServer(addr string, workdir string, log log.Logger) (Server, error) func NewServer(addr string, hostKey []byte, keys []ssh.PublicKey, workdir string, ...) (Server, error) Constants ¶ View Source const ( DefaultPort int = 8022 DefaultUserPort int = 12023 ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server interface { Serve(listener net.Listener) error ListenAndServe() error } func NewContainerServer ¶ func NewContainerServer(addr string, workdir string, log log.Logger) (Server, error) func NewServer ¶ func NewServer(addr string, hostKey []byte, keys []ssh.PublicKey, workdir string, reuseSock string, log log.Logger) (Server, error) Source Files ¶ View all Source files agent.goexec.goexit.gopty_supported.gosftp_handler.gossh.gossh_container.goworkdir.go Directories ¶ Show internal Expand all Path Synopsis port Click to show internal directories. Click to hide internal directories.