Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultHostKeyFile = "~/.ssh/id_rsa"

    DefaultHostKeyFile ...

    Functions

    This section is empty.

    Types

    type Config

    type Config struct {
    	Port             uint
    	Address          string
    	IdleTimeout      time.Duration
    	ExecutableBinary string
    	HostKeyFile      string
    }

      Config ...

      type Server

      type Server struct {
      	// contains filtered or unexported fields
      }

        Server ...

        func NewServer

        func NewServer(config *Config) *Server

          NewServer ...

          func (*Server) ListenAndServe

          func (s *Server) ListenAndServe() error

            ListenAndServe ...

            func (*Server) Shutdown

            func (s *Server) Shutdown()

              Shutdown ...

              Source Files