Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RDPProxyServiceImpl ¶
type RDPProxyServiceImpl struct {
ioc.ObjectImpl
// TCP 代理配置
TCPListenAddr string `json:"tcp_listen_addr" yaml:"tcp_listen_addr" toml:"tcp_listen_addr" env:"RDP_TCP_LISTEN_ADDR"`
TCPMaxConns int `json:"tcp_max_conns" yaml:"tcp_max_conns" toml:"tcp_max_conns" env:"RDP_TCP_MAX_CONNS"`
// contains filtered or unexported fields
}
func (*RDPProxyServiceImpl) Init ¶
func (r *RDPProxyServiceImpl) Init() error
func (*RDPProxyServiceImpl) Name ¶
func (r *RDPProxyServiceImpl) Name() string
type RdpConnectionHandler ¶
type RdpConnectionHandler struct {
// contains filtered or unexported fields
}
RdpConnectionHandler RDP 连接处理器(透明代理)
func NewRdpConnectionHandler ¶
func NewRdpConnectionHandler( policySvc policy.Service, backendSvc backend.Service, auditSvc audit.Service, log *zerolog.Logger, ) *RdpConnectionHandler
NewRdpConnectionHandler 创建 RDP 连接处理器
func (*RdpConnectionHandler) GetMetrics ¶
func (h *RdpConnectionHandler) GetMetrics() *RdpMetrics
GetMetrics 获取指标
func (*RdpConnectionHandler) HandleConnection ¶
HandleConnection 实现 proxy.ConnectionHandler 接口
Click to show internal directories.
Click to hide internal directories.