Versions in this module Expand all Collapse all v0 v0.0.1 Aug 27, 2022 Changes in this version + type ApiConfig struct + APIHost string + DeviceLimit int + DisableCustomConfig bool + EnableVless bool + EnableXTLS bool + Key string + NodeID int + NodeType string + RuleListPath string + SpeedLimit float64 + Timeout int + type CertConfig struct + CertDomain string + CertFile string + CertMode string + DNSEnv map[string]string + Email string + KeyFile string + Provider string + RejectUnknownSni bool + type Conf struct + ConnectionConfig *ConnetionConfig + DnsConfigPath string + InboundConfigPath string + LogConfig *LogConfig + NodesConfig []*NodeConfig + OutboundConfigPath string + RouteConfigPath string + func New() *Conf + type ConnetionConfig struct + BufferSize int32 + ConnIdle uint32 + DownlinkOnly uint32 + Handshake uint32 + UplinkOnly uint32 + func NewConnetionConfig() *ConnetionConfig + type ControllerConfig struct + CertConfig *CertConfig + DNSType string + DisableGetRule bool + DisableIVCheck bool + DisableSniffing bool + DisableUploadTraffic bool + EnableDNS bool + EnableFallback bool + EnableIpRecorder bool + EnableProxyProtocol bool + FallBackConfigs []*FallBackConfig + IpRecorderConfig *IpReportConfig + ListenIP string + SendIP string + UpdatePeriodic int + type FallBackConfig struct + Alpn string + Dest string + Path string + ProxyProtocolVer uint64 + SNI string + type IpReportConfig struct + EnableIpSync bool + Periodic int + Timeout int + Token string + Url string + type LogConfig struct + AccessPath string + ErrorPath string + Level string + func NewLogConfig() *LogConfig + type NodeConfig struct + ApiConfig *ApiConfig + ControllerConfig *ControllerConfig