Versions in this module Expand all Collapse all v0 v0.3.3 Apr 6, 2026 Changes in this version + func GetCustomConfig(infos []*panel.NodeInfo) (*dns.Config, []*core.OutboundHandlerConfig, *router.Config, error) + type AddUsersParams struct + Tag string + Users []panel.UserInfo + type NetworkSettingsProxyProtocol struct + AcceptProxyProtocol bool + type ShadowsocksHTTPNetworkSettings struct + AcceptProxyProtocol bool + Host string + Path string + type UserMap struct + type V2Core struct + Config *conf.Conf + ReloadCh chan struct{} + Server *core.Instance + func New(config *conf.Conf) *V2Core + func (v *V2Core) AddNode(tag string, info *panel.NodeInfo) error + func (v *V2Core) AddUsers(p *AddUsersParams) (added int, err error) + func (v *V2Core) Close() error + func (v *V2Core) DelNode(tag string) error + func (v *V2Core) GetUserManager(tag string) (proxy.UserManager, error) + func (v *V2Core) Start(infos []*panel.NodeInfo) error + func (vc *V2Core) DelUsers(users []panel.UserInfo, tag string, _ *panel.NodeInfo) error + func (vc *V2Core) GetUserTrafficSlice(tag string, mintraffic int) ([]panel.UserTraffic, error)