Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface { AgentInfo pkg.Tider SessionManager // AddRPCConn(net.Conn) AddTerminalConn(net.Conn) AddSessionConn(net.Conn) // deprecated in favor of AddTerminalConn AddMetricsConn(net.Conn) AddSocks5Conn(net.Conn) AddFSConn(net.Conn) NewTerminal() net.Conn NewSession() Session NewMetrics() net.Conn NewSocks5() net.Conn NewFS() net.Conn BasicAuth(http.Handler) http.Handler }
type AgentManager ¶
type Hub ¶
type Hub interface { AgentManager // Serve(net.Listener) error GetConfig() Config ListenAndServe() error ListenAndServeTLS(certFile, keyFile string) error }
type Session ¶
type Session interface { pkg.Tider api.SessionClient // close the underlying *grpc.ClientConn to release memory Close() error }
type SessionManager ¶
type Terminal ¶
type Terminal interface { pkg.Tider asciitransport.AsciiTransportClient }
Click to show internal directories.
Click to hide internal directories.