Versions in this module Expand all Collapse all v0 v0.67.0 Jan 31, 2026 Changes in this version + type BaseOutConf struct + type ClientInfoResp struct + ClientID string + ClientIP string + DisconnectedAt int64 + FirstConnectedAt int64 + Hostname string + Key string + LastConnectedAt int64 + Online bool + RunID string + User string + type Controller struct + func NewController(serverCfg *v1.ServerConfig, clientRegistry *registry.ClientRegistry, ...) *Controller + func (c *Controller) APIClientDetail(ctx *httppkg.Context) (any, error) + func (c *Controller) APIClientList(ctx *httppkg.Context) (any, error) + func (c *Controller) APIProxyByName(ctx *httppkg.Context) (any, error) + func (c *Controller) APIProxyByType(ctx *httppkg.Context) (any, error) + func (c *Controller) APIProxyByTypeAndName(ctx *httppkg.Context) (any, error) + func (c *Controller) APIProxyTraffic(ctx *httppkg.Context) (any, error) + func (c *Controller) APIServerInfo(ctx *httppkg.Context) (any, error) + func (c *Controller) DeleteProxies(ctx *httppkg.Context) (any, error) + type GetProxyInfoResp struct + Proxies []*ProxyStatsInfo + type GetProxyStatsResp struct + ClientID string + ClientVersion string + Conf any + CurConns int64 + LastCloseTime string + LastStartTime string + Name string + Status string + TodayTrafficIn int64 + TodayTrafficOut int64 + User string + type GetProxyTrafficResp struct + Name string + TrafficIn []int64 + TrafficOut []int64 + type HTTPOutConf struct + HostHeaderRewrite string + Locations []string + type HTTPSOutConf struct + type ProxyManager interface + GetByName func(name string) (proxy.Proxy, bool) + type ProxyStatsInfo struct + ClientID string + ClientVersion string + Conf any + CurConns int64 + LastCloseTime string + LastStartTime string + Name string + Status string + TodayTrafficIn int64 + TodayTrafficOut int64 + User string + type STCPOutConf struct + type ServerInfoResp struct + AllowPortsStr string + BindPort int + ClientCounts int64 + CurConns int64 + HeartBeatTimeout int64 + KCPBindPort int + MaxPoolCount int64 + MaxPortsPerClient int64 + ProxyTypeCounts map[string]int64 + QUICBindPort int + SubdomainHost string + TCPMuxHTTPConnectPort int + TLSForce bool + TotalTrafficIn int64 + TotalTrafficOut int64 + Version string + VhostHTTPPort int + VhostHTTPSPort int + type TCPMuxOutConf struct + Multiplexer string + RouteByHTTPUser string + type TCPOutConf struct + RemotePort int + type UDPOutConf struct + RemotePort int + type XTCPOutConf struct