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
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 ¶
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
Click to show internal directories.
Click to hide internal directories.