Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + type Client struct + func NewClient(config ClientConfig) (*Client, error) + func (c *Client) DialNode(proxyIDs []string, nodeID string, src net.Addr, dst net.Addr, ...) (net.Conn, error) + func (c *Client) GetConnectionsCount() int + func (c *Client) Shutdown() + func (c *Client) Stop() error + type ClientConfig struct + AccessPoint auth.ProxyAccessPoint + AuthClient auth.ClientI + Clock clockwork.Clock + Context context.Context + GracefulShutdownTimeout time.Duration + ID string + Log logrus.FieldLogger + TLSConfig *tls.Config + type ClusterDialer interface + Dial func(clusterName string, request DialParams) (net.Conn, error) + type DialParams struct + ConnType types.TunnelType + From *utils.NetAddr + ServerID string + To *utils.NetAddr + type Server struct + func NewServer(config ServerConfig) (*Server, error) + func (s *Server) Close() error + func (s *Server) Serve() error + func (s *Server) Shutdown() error + type ServerConfig struct + AccessCache auth.AccessCache + ClusterDialer ClusterDialer + Listener net.Listener + Log logrus.FieldLogger + TLSConfig *tls.Config + type Stream interface + Context func() context.Context + Recv func() (*proto.Frame, error) + Send func(*proto.Frame) error