sshd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	AuthorizedKeys, HostKey string
	Verbose                 bool
}

type Server

type Server struct {
	*Conf
	net.Listener
	State
}

func New

func New(conf *Conf) *Server

func (*Server) Quit

func (s *Server) Quit()

func (*Server) Run

func (s *Server) Run(ready chan<- bool) error

type State

type State struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*State) Listening

func (s *State) Listening() bool

func (*State) ListeningState

func (s *State) ListeningState(b bool)

Jump to

Keyboard shortcuts

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