teleagent

package
v3.2.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentServer added in v1.0.0

type AgentServer struct {
	agent.Agent
	// contains filtered or unexported fields
}

AgentServer is implementation of SSH agent server

func NewServer added in v1.0.0

func NewServer() *AgentServer

NewServer returns new instance of agent server

func (*AgentServer) Close

func (a *AgentServer) Close() error

Close closes listener and stops serving agent

func (*AgentServer) ListenAndServe added in v1.0.0

func (a *AgentServer) ListenAndServe(addr utils.NetAddr) error

ListenAndServe is similar http.ListenAndServe

func (*AgentServer) ListenUnixSocket

func (a *AgentServer) ListenUnixSocket(path string, uid, gid int, mode os.FileMode) error

ListenUnixSocket starts listening and serving agent assuming that

func (*AgentServer) Serve

func (a *AgentServer) Serve() error

Serve starts serving on the listener, assumes that Listen was called before

Jump to

Keyboard shortcuts

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