Versions in this module Expand all Collapse all v0 v0.8.1 Apr 28, 2022 Changes in this version + var AEADMethod = []shadowsocks.CipherType + func InboundBuilder(config *Config, nodeInfo *api.NodeInfo, tag string) (*core.InboundHandlerConfig, error) + func OutboundBuilder(config *Config, nodeInfo *api.NodeInfo, tag string) (*core.OutboundHandlerConfig, error) + type CertConfig struct + CertDomain string + CertFile string + CertMode string + DNSEnv map[string]string + Email string + KeyFile string + Provider string + RejectUnknownSni bool + type Config struct + CertConfig *CertConfig + DNSType string + DisableGetRule bool + DisableIVCheck bool + DisableSniffing bool + DisableUploadTraffic bool + EnableDNS bool + EnableFallback bool + EnableProxyProtocol bool + FallBackConfigs []*FallBackConfig + ListenIP string + SendIP string + UpdatePeriodic int + type Controller struct + Tag string + func New(server *core.Instance, api api.API, config *Config, panelType string) *Controller + func (c *Controller) AddInboundLimiter(tag string, nodeSpeedLimit uint64, userList *[]api.UserInfo) error + func (c *Controller) Close() error + func (c *Controller) DeleteInboundLimiter(tag string) error + func (c *Controller) GetDetectResult(tag string) (*[]api.DetectResult, error) + func (c *Controller) GetOnlineDevice(tag string) (*[]api.OnlineUser, error) + func (c *Controller) Start() error + func (c *Controller) UpdateInboundLimiter(tag string, updatedUserList *[]api.UserInfo) error + func (c *Controller) UpdateRule(tag string, newRuleList []api.DetectRule) error + type FallBackConfig struct + Alpn string + Dest string + Path string + ProxyProtocolVer uint64 + SNI string