sshd

package
v14.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeepAliveMsg   = "keepalive@openssh.com"
	NotOurRefError = `exit status 128, stderr: "fatal: git upload-pack: not our ref `
)
View Source
const (
	StatusStarting status = iota
	StatusReady
	StatusOnShutdown
	StatusClosed
)

Variables

View Source
var EOFTimeout = 10 * time.Second

Functions

This section is empty.

Types

type Server

type Server struct {
	Config *config.Config
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg *config.Config) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context) error

func (*Server) MonitoringServeMux

func (s *Server) MonitoringServeMux() *http.ServeMux

func (*Server) Shutdown

func (s *Server) Shutdown() error

Jump to

Keyboard shortcuts

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