SYMBOL INDEX (353 symbols across 84 files) FILE: api/iprecoder/interface.go type IpRecorder (line 7) | type IpRecorder interface FILE: api/iprecoder/recorder.go type Recorder (line 12) | type Recorder struct method SyncOnlineIp (line 24) | func (r *Recorder) SyncOnlineIp(ips []limiter.UserIpList) ([]limiter.U... function NewRecorder (line 17) | func NewRecorder(c *conf.RecorderConfig) *Recorder { FILE: api/iprecoder/redis.go type Redis (line 13) | type Redis struct method SyncOnlineIp (line 29) | func (r *Redis) SyncOnlineIp(Ips []limiter.UserIpList) ([]limiter.User... function NewRedis (line 18) | func NewRedis(c *conf.RedisConfig) *Redis { FILE: api/iprecoder/redis_test.go function TestRedis_SyncOnlineIp (line 10) | func TestRedis_SyncOnlineIp(t *testing.T) { FILE: api/panel/node.go type CommonNodeRsp (line 19) | type CommonNodeRsp struct type Route (line 27) | type Route struct type BaseConfig (line 33) | type BaseConfig struct type V2rayNodeRsp (line 38) | type V2rayNodeRsp struct type ShadowsocksNodeRsp (line 45) | type ShadowsocksNodeRsp struct type HysteriaNodeRsp (line 50) | type HysteriaNodeRsp struct type NodeInfo (line 56) | type NodeInfo struct type Rules (line 76) | type Rules struct type V2rayExtraConfig (line 81) | type V2rayExtraConfig struct type RealityConfig (line 88) | type RealityConfig struct method GetNodeInfo (line 99) | func (c *Client) GetNodeInfo() (node *NodeInfo, err error) { function intervalToTime (line 234) | func intervalToTime(i interface{}) time.Duration { FILE: api/panel/node_test.go function init (line 11) | func init() { function TestClient_GetNodeInfo (line 24) | func TestClient_GetNodeInfo(t *testing.T) { function TestClient_ReportUserTraffic (line 29) | func TestClient_ReportUserTraffic(t *testing.T) { FILE: api/panel/panel.go type Client (line 19) | type Client struct function New (line 30) | func New(c *conf.ApiConfig) (*Client, error) { function readLocalRuleList (line 72) | func readLocalRuleList(path string) (LocalRuleList []*regexp.Regexp) { FILE: api/panel/user.go type OnlineUser (line 9) | type OnlineUser struct type UserInfo (line 14) | type UserInfo struct type UserListBody (line 20) | type UserListBody struct method GetUserList (line 26) | func (c *Client) GetUserList() (UserList []UserInfo, err error) { type UserTraffic (line 48) | type UserTraffic struct method ReportUserTraffic (line 55) | func (c *Client) ReportUserTraffic(userTraffic []UserTraffic) error { FILE: api/panel/utils.go method Debug (line 10) | func (c *Client) Debug() { method assembleURL (line 14) | func (c *Client) assembleURL(path string) string { method checkResponse (line 17) | func (c *Client) checkResponse(res *resty.Response, path string, err err... FILE: cmd/action_linux.go function init (line 35) | func init() { function startHandle (line 42) | func startHandle(_ *cobra.Command, _ []string) { function stopHandle (line 71) | func stopHandle(_ *cobra.Command, _ []string) { function restartHandle (line 92) | func restartHandle(_ *cobra.Command, _ []string) { FILE: cmd/cmd.go function Run (line 14) | func Run() { FILE: cmd/common.go constant red (line 10) | red = "\033[0;31m" constant green (line 11) | green = "\033[0;32m" constant yellow (line 12) | yellow = "\033[0;33m" constant plain (line 13) | plain = "\033[0m" function checkRunning (line 16) | func checkRunning() (bool, error) { function Err (line 24) | func Err(msg ...any) string { function Ok (line 28) | func Ok(msg ...any) string { function Warn (line 32) | func Warn(msg ...any) string { FILE: cmd/common_test.go function Test_printFailed (line 5) | func Test_printFailed(t *testing.T) { FILE: cmd/install_linux.go function init (line 31) | func init() { function uninstallHandle (line 37) | func uninstallHandle(_ *cobra.Command, _ []string) { FILE: cmd/server.go function init (line 30) | func init() { function serverHandle (line 40) | func serverHandle(_ *cobra.Command, _ []string) { FILE: cmd/server_test.go function TestRun (line 5) | func TestRun(t *testing.T) { FILE: cmd/synctime.go function init (line 20) | func init() { function synctimeHandle (line 25) | func synctimeHandle(_ *cobra.Command, _ []string) { FILE: cmd/version.go function init (line 25) | func init() { function showVersion (line 29) | func showVersion() { FILE: cmd/x25519.go function init (line 23) | func init() { function executeX25519 (line 27) | func executeX25519() { FILE: cmd/x25519_test.go function Test_executeX25519 (line 5) | func Test_executeX25519(t *testing.T) { FILE: common/crypt/aes.go function AesEncrypt (line 8) | func AesEncrypt(data []byte, key []byte) (string, error) { function AesDecrypt (line 18) | func AesDecrypt(data string, key []byte) (string, error) { FILE: common/crypt/x25519.go function GenX25519Private (line 7) | func GenX25519Private(data []byte) []byte { FILE: common/exec/exec.go function RunCommandByShell (line 9) | func RunCommandByShell(cmd string) (string, error) { function RunCommandStd (line 19) | func RunCommandStd(name string, args ...string) { FILE: common/file/file.go function IsExist (line 5) | func IsExist(path string) bool { FILE: common/format/user.go function UserTag (line 7) | func UserTag(tag string, uuid string) string { FILE: common/rate/rate.go type Writer (line 9) | type Writer struct method Close (line 21) | func (w *Writer) Close() error { method WriteMultiBuffer (line 25) | func (w *Writer) WriteMultiBuffer(mb buf.MultiBuffer) error { function NewRateLimitWriter (line 14) | func NewRateLimitWriter(writer buf.Writer, limiter *ratelimit.Bucket) bu... FILE: common/systime/time_stub.go function SetSystemTime (line 10) | func SetSystemTime(nowTime time.Time) error { FILE: common/systime/time_unix.go function SetSystemTime (line 11) | func SetSystemTime(nowTime time.Time) error { FILE: common/systime/time_windows.go function SetSystemTime (line 10) | func SetSystemTime(nowTime time.Time) error { FILE: common/task/task.go type Task (line 9) | type Task struct method hasClosed (line 20) | func (t *Task) hasClosed() bool { method checkedExecute (line 27) | func (t *Task) checkedExecute(first bool) error { method Start (line 51) | func (t *Task) Start(first bool) error { method Close (line 69) | func (t *Task) Close() { FILE: common/task/task_test.go function TestTask (line 9) | func TestTask(t *testing.T) { FILE: conf/conf.go type Conf (line 10) | type Conf struct method LoadFromPath (line 33) | func (p *Conf) LoadFromPath(filePath string) error { function New (line 15) | func New() *Conf { FILE: conf/conf_test.go function TestConf_LoadFromPath (line 8) | func TestConf_LoadFromPath(t *testing.T) { function TestConf_Watch (line 13) | func TestConf_Watch(t *testing.T) { FILE: conf/core.go type CoreConfig (line 3) | type CoreConfig struct type XrayConfig (line 8) | type XrayConfig struct type ConnectionConfig (line 18) | type ConnectionConfig struct function NewConnectionConfig (line 26) | func NewConnectionConfig() *ConnectionConfig { FILE: conf/log.go type LogConfig (line 3) | type LogConfig struct function NewLogConfig (line 9) | func NewLogConfig() *LogConfig { FILE: conf/node.go type NodeConfig (line 3) | type NodeConfig struct type ApiConfig (line 8) | type ApiConfig struct type ControllerConfig (line 17) | type ControllerConfig struct type RealityConfig (line 26) | type RealityConfig struct type XrayOptions (line 37) | type XrayOptions struct type HyOptions (line 49) | type HyOptions struct type LimitConfig (line 55) | type LimitConfig struct type FallBackConfig (line 66) | type FallBackConfig struct type RecorderConfig (line 74) | type RecorderConfig struct type RedisConfig (line 80) | type RedisConfig struct type IpReportConfig (line 87) | type IpReportConfig struct type DynamicSpeedLimitConfig (line 95) | type DynamicSpeedLimitConfig struct type CertConfig (line 102) | type CertConfig struct FILE: conf/old.go type OldConfig (line 5) | type OldConfig struct type OldControllerConfig (line 12) | type OldControllerConfig struct type OldApiConfig (line 31) | type OldApiConfig struct function migrateOldConfig (line 44) | func migrateOldConfig(c *Conf, old *OldConfig) { FILE: conf/watch.go method Watch (line 11) | func (p *Conf) Watch(filePath, dnsPath string, reload func()) error { FILE: core/core.go function NewCore (line 14) | func NewCore(c *conf.CoreConfig) (Core, error) { function RegisterCore (line 41) | func RegisterCore(t string, f func(c *conf.CoreConfig) (Core, error)) { function RegisteredCore (line 45) | func RegisteredCore() []string { FILE: core/hy/config.go constant mbpsToBps (line 4) | mbpsToBps = 125000 constant minSpeedBPS (line 5) | minSpeedBPS = 16384 constant DefaultALPN (line 7) | DefaultALPN = "hysteria" constant DefaultStreamReceiveWindow (line 9) | DefaultStreamReceiveWindow = 16777216 constant DefaultConnectionReceiveWindow (line 10) | DefaultConnectionReceiveWindow = DefaultStreamReceiveWindow * 5 / 2 constant DefaultMaxIncomingStreams (line 12) | DefaultMaxIncomingStreams = 1024 constant DefaultMMDBFilename (line 14) | DefaultMMDBFilename = "GeoLite2-Country.mmdb" constant ServerMaxIdleTimeoutSec (line 16) | ServerMaxIdleTimeoutSec = 60 constant DefaultClientIdleTimeoutSec (line 17) | DefaultClientIdleTimeoutSec = 20 constant DefaultClientHopIntervalSec (line 19) | DefaultClientHopIntervalSec = 10 function SpeedTrans (line 22) | func SpeedTrans(upM, downM int) (uint64, uint64) { FILE: core/hy/counter.go type UserTrafficCounter (line 8) | type UserTrafficCounter struct method getCounters (line 25) | func (c *UserTrafficCounter) getCounters(auth string) *counters { method Rx (line 36) | func (c *UserTrafficCounter) Rx(auth string, n int) { method Tx (line 41) | func (c *UserTrafficCounter) Tx(auth string, n int) { method IncConn (line 46) | func (c *UserTrafficCounter) IncConn(_ string) { method DecConn (line 52) | func (c *UserTrafficCounter) DecConn(_ string) { method Reset (line 58) | func (c *UserTrafficCounter) Reset(auth string) { method Delete (line 64) | func (c *UserTrafficCounter) Delete(auth string) { type counters (line 13) | type counters struct function NewUserTrafficCounter (line 19) | func NewUserTrafficCounter() *UserTrafficCounter { FILE: core/hy/counter_test.go function TestUserTrafficCounter_Rx (line 5) | func TestUserTrafficCounter_Rx(t *testing.T) { FILE: core/hy/hy.go function init (line 12) | func init() { type Hy (line 16) | type Hy struct method Start (line 26) | func (h *Hy) Start() error { method Close (line 30) | func (h *Hy) Close() error { method Protocols (line 45) | func (h *Hy) Protocols() []string { function NewHy (line 20) | func NewHy(_ *conf.CoreConfig) (vCore.Core, error) { FILE: core/hy/ipmasker.go type ipMasker (line 7) | type ipMasker struct method Mask (line 14) | func (m *ipMasker) Mask(addr string) string { FILE: core/hy/kploader.go type keypairLoader (line 11) | type keypairLoader struct method load (line 78) | func (kpr *keypairLoader) load() error { method GetCertificateFunc (line 89) | func (kpr *keypairLoader) GetCertificateFunc() func(*tls.ClientHelloIn... function newKeypairLoader (line 18) | func newKeypairLoader(certPath, keyPath string) (*keypairLoader, error) { FILE: core/hy/mmdb.go function loadMMDBReader (line 10) | func loadMMDBReader(filename string) (*geoip2.Reader, error) { FILE: core/hy/node.go method AddNode (line 11) | func (h *Hy) AddNode(tag string, info *panel.NodeInfo, c *conf.Controlle... method DelNode (line 32) | func (h *Hy) DelNode(tag string) error { FILE: core/hy/resolver.go function setResolver (line 15) | func setResolver(dns string) error { FILE: core/hy/server.go type Server (line 34) | type Server struct method runServer (line 50) | func (s *Server) runServer(node *panel.NodeInfo, c *conf.ControllerCon... method authByUser (line 162) | func (s *Server) authByUser(addr net.Addr, auth []byte, sSend uint64, ... method connectFunc (line 172) | func (s *Server) connectFunc(addr net.Addr, auth []byte, sSend uint64,... method disconnectFunc (line 189) | func (s *Server) disconnectFunc(addr net.Addr, auth []byte, err error) { function NewServer (line 43) | func NewServer(tag string, l *limiter.Limiter) *Server { function tcpRequestFunc (line 197) | func tcpRequestFunc(addr net.Addr, auth []byte, reqAddr string, action a... function tcpErrorFunc (line 205) | func tcpErrorFunc(addr net.Addr, auth []byte, reqAddr string, err error) { function udpRequestFunc (line 220) | func udpRequestFunc(addr net.Addr, auth []byte, sessionID uint32) { function udpErrorFunc (line 227) | func udpErrorFunc(addr net.Addr, auth []byte, sessionID uint32, err erro... function actionToString (line 242) | func actionToString(action acl.Action, arg string) string { FILE: core/hy/server_test.go function TestServer (line 14) | func TestServer(t *testing.T) { FILE: core/hy/user.go method AddUsers (line 10) | func (h *Hy) AddUsers(p *core.AddUsersParams) (int, error) { method GetUserTraffic (line 22) | func (h *Hy) GetUserTraffic(tag, uuid string, reset bool) (up int64, dow... method DelUsers (line 34) | func (h *Hy) DelUsers(users []panel.UserInfo, tag string) error { FILE: core/interface.go type AddUsersParams (line 8) | type AddUsersParams struct type Core (line 14) | type Core interface FILE: core/selector.go type Selector (line 12) | type Selector struct method Start (line 17) | func (s *Selector) Start() error { method Close (line 25) | func (s *Selector) Close() error { method AddNode (line 42) | func (s *Selector) AddNode(tag string, info *panel.NodeInfo, config *c... method DelNode (line 57) | func (s *Selector) DelNode(tag string) error { method AddUsers (line 69) | func (s *Selector) AddUsers(p *AddUsersParams) (added int, err error) { method GetUserTraffic (line 77) | func (s *Selector) GetUserTraffic(tag, uuid string, reset bool) (up in... method DelUsers (line 85) | func (s *Selector) DelUsers(users []panel.UserInfo, tag string) error { method Protocols (line 93) | func (s *Selector) Protocols() []string { function isSupported (line 33) | func isSupported(protocol string, protocols []string) bool { FILE: core/xray/app/dispatcher/config.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type SessionConfig (line 23) | type SessionConfig struct method Reset (line 29) | func (x *SessionConfig) Reset() { method String (line 38) | func (x *SessionConfig) String() string { method ProtoMessage (line 42) | func (*SessionConfig) ProtoMessage() {} method ProtoReflect (line 44) | func (x *SessionConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*SessionConfig) Descriptor() ([]byte, []int) { type Config (line 61) | type Config struct method Reset (line 69) | func (x *Config) Reset() { method String (line 78) | func (x *Config) String() string { method ProtoMessage (line 82) | func (*Config) ProtoMessage() {} method ProtoReflect (line 84) | func (x *Config) ProtoReflect() protoreflect.Message { method Descriptor (line 97) | func (*Config) Descriptor() ([]byte, []int) { method GetSettings (line 101) | func (x *Config) GetSettings() *SessionConfig { function file_config_proto_rawDescGZIP (line 135) | func file_config_proto_rawDescGZIP() []byte { function init (line 156) | func init() { file_config_proto_init() } function file_config_proto_init (line 157) | func file_config_proto_init() { FILE: core/xray/app/dispatcher/default.go type cachedReader (line 34) | type cachedReader struct method Cache (line 40) | func (r *cachedReader) Cache(b *buf.Buffer) { method readInternal (line 53) | func (r *cachedReader) readInternal() buf.MultiBuffer { method ReadMultiBuffer (line 66) | func (r *cachedReader) ReadMultiBuffer() (buf.MultiBuffer, error) { method ReadMultiBufferTimeout (line 75) | func (r *cachedReader) ReadMultiBufferTimeout(timeout time.Duration) (... method Interrupt (line 84) | func (r *cachedReader) Interrupt() { type DefaultDispatcher (line 94) | type DefaultDispatcher struct method Init (line 119) | func (d *DefaultDispatcher) Init(config *Config, om outbound.Manager, ... method Type (line 129) | func (*DefaultDispatcher) Type() interface{} { method Start (line 134) | func (*DefaultDispatcher) Start() error { method Close (line 139) | func (*DefaultDispatcher) Close() error { return nil } method getLink (line 141) | func (d *DefaultDispatcher) getLink(ctx context.Context, network net.N... method shouldOverride (line 280) | func (d *DefaultDispatcher) shouldOverride(ctx context.Context, result... method Dispatch (line 314) | func (d *DefaultDispatcher) Dispatch(ctx context.Context, destination ... method DispatchLink (line 367) | func (d *DefaultDispatcher) DispatchLink(ctx context.Context, destinat... method routedDispatch (line 493) | func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *... function init (line 103) | func init() { type limitedError (line 415) | type limitedError method Error (line 417) | func (l limitedError) Error() string { function sniffer (line 421) | func sniffer(ctx context.Context, cReader *cachedReader, metadataOnly bo... FILE: core/xray/app/dispatcher/errors.generated.go type errPathObjHolder (line 5) | type errPathObjHolder struct function newError (line 7) | func newError(values ...interface{}) *errors.Error { FILE: core/xray/app/dispatcher/fakednssniffer.go function newFakeDNSSniffer (line 15) | func newFakeDNSSniffer(ctx context.Context) (protocolSnifferWithMetadata... type fakeDNSSniffResult (line 50) | type fakeDNSSniffResult struct method Protocol (line 54) | func (fakeDNSSniffResult) Protocol() string { method Domain (line 58) | func (f fakeDNSSniffResult) Domain() string { type fakeDNSExtraOpts (line 62) | type fakeDNSExtraOpts constant ipAddressInRange (line 64) | ipAddressInRange fakeDNSExtraOpts = 1 type ipAddressInRangeOpt (line 66) | type ipAddressInRangeOpt struct type DNSThenOthersSniffResult (line 70) | type DNSThenOthersSniffResult struct method IsProtoSubsetOf (line 75) | func (f DNSThenOthersSniffResult) IsProtoSubsetOf(protocolName string)... method Protocol (line 79) | func (DNSThenOthersSniffResult) Protocol() string { method Domain (line 83) | func (f DNSThenOthersSniffResult) Domain() string { function newFakeDNSThenOthers (line 87) | func newFakeDNSThenOthers(ctx context.Context, fakeDNSSniffer protocolSn... FILE: core/xray/app/dispatcher/sniffer.go type SniffResult (line 14) | type SniffResult interface type protocolSniffer (line 19) | type protocolSniffer type protocolSnifferWithMetadata (line 21) | type protocolSnifferWithMetadata struct type Sniffer (line 30) | type Sniffer struct method Sniff (line 57) | func (s *Sniffer) Sniff(c context.Context, payload []byte, network net... method SniffMetadata (line 83) | func (s *Sniffer) SniffMetadata(c context.Context) (SniffResult, error) { function NewSniffer (line 34) | func NewSniffer(ctx context.Context) *Sniffer { function CompositeResult (line 110) | func CompositeResult(domainResult SniffResult, protocolResult SniffResul... type compositeResult (line 114) | type compositeResult struct method Protocol (line 119) | func (c compositeResult) Protocol() string { method Domain (line 123) | func (c compositeResult) Domain() string { method ProtocolForDomainResult (line 127) | func (c compositeResult) ProtocolForDomainResult() string { type SnifferResultComposite (line 131) | type SnifferResultComposite interface type SnifferIsProtoSubsetOf (line 135) | type SnifferIsProtoSubsetOf interface FILE: core/xray/app/dispatcher/stats.go type SizeStatWriter (line 9) | type SizeStatWriter struct method WriteMultiBuffer (line 14) | func (w *SizeStatWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { method Close (line 19) | func (w *SizeStatWriter) Close() error { method Interrupt (line 23) | func (w *SizeStatWriter) Interrupt() { FILE: core/xray/app/dispatcher/stats_test.go type TestCounter (line 11) | type TestCounter method Value (line 13) | func (c *TestCounter) Value() int64 { method Add (line 17) | func (c *TestCounter) Add(v int64) int64 { method Set (line 23) | func (c *TestCounter) Set(v int64) int64 { function TestStatsWriter (line 28) | func TestStatsWriter(t *testing.T) { FILE: core/xray/inbound.go function buildInbound (line 20) | func buildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInf... function buildV2ray (line 153) | func buildV2ray(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo,... function buildTrojan (line 216) | func buildTrojan(config *conf.ControllerConfig, inbound *coreConf.Inboun... function buildShadowsocks (line 240) | func buildShadowsocks(config *conf.ControllerConfig, nodeInfo *panel.Nod... function buildVlessFallbacks (line 277) | func buildVlessFallbacks(fallbackConfigs []conf.FallBackConfig) ([]*core... function buildTrojanFallbacks (line 302) | func buildTrojanFallbacks(fallbackConfigs []conf.FallBackConfig) ([]*cor... FILE: core/xray/node.go method AddNode (line 13) | func (c *Core) AddNode(tag string, info *panel.NodeInfo, config *conf.Co... method addInbound (line 33) | func (c *Core) addInbound(config *core.InboundHandlerConfig) error { method addOutbound (line 48) | func (c *Core) addOutbound(config *core.OutboundHandlerConfig) error { method DelNode (line 63) | func (c *Core) DelNode(tag string) error { method removeInbound (line 75) | func (c *Core) removeInbound(tag string) error { method removeOutbound (line 79) | func (c *Core) removeOutbound(tag string) error { FILE: core/xray/outbound.go function buildOutbound (line 13) | func buildOutbound(config *conf2.ControllerConfig, tag string) (*core.Ou... FILE: core/xray/ss.go function buildSSUsers (line 14) | func buildSSUsers(tag string, userInfo []panel.UserInfo, cypher string, ... function buildSSUser (line 22) | func buildSSUser(tag string, userInfo *panel.UserInfo, cypher string, se... function getCipherFromString (line 52) | func getCipherFromString(c string) shadowsocks.CipherType { FILE: core/xray/trojan.go function buildTrojanUsers (line 11) | func buildTrojanUsers(tag string, userInfo []panel.UserInfo) (users []*p... function buildTrojanUser (line 19) | func buildTrojanUser(tag string, userInfo *panel.UserInfo) (user *protoc... FILE: core/xray/user.go method GetUserManager (line 14) | func (c *Core) GetUserManager(tag string) (proxy.UserManager, error) { method DelUsers (line 30) | func (c *Core) DelUsers(users []panel.UserInfo, tag string) error { method GetUserTraffic (line 50) | func (c *Core) GetUserTraffic(tag, uuid string, reset bool) (up int64, d... method AddUsers (line 73) | func (c *Core) AddUsers(p *vCore.AddUsersParams) (added int, err error) { FILE: core/xray/vmess.go function buildVmessUsers (line 12) | func buildVmessUsers(tag string, userInfo []panel.UserInfo) (users []*pr... function buildVmessUser (line 20) | func buildVmessUser(tag string, userInfo *panel.UserInfo) (user *protoco... function buildVlessUsers (line 32) | func buildVlessUsers(tag string, userInfo []panel.UserInfo, flow string)... function buildVlessUser (line 40) | func buildVlessUser(tag string, userInfo *panel.UserInfo, flow string) (... FILE: core/xray/xray.go function init (line 24) | func init() { type Core (line 29) | type Core struct method Start (line 161) | func (c *Core) Start() error { method Close (line 175) | func (c *Core) Close() error { method Protocols (line 189) | func (c *Core) Protocols() []string { function New (line 38) | func New(c *conf.CoreConfig) (vCore.Core, error) { function parseConnectionConfig (line 42) | func parseConnectionConfig(c *conf.ConnectionConfig) (policy *coreConf.P... function getCore (line 55) | func getCore(c *conf.XrayConfig) *core.Instance { FILE: limiter/clear.go function ClearOnlineIP (line 5) | func ClearOnlineIP() error { FILE: limiter/conn.go type ConnLimiter (line 8) | type ConnLimiter struct method AddConnCount (line 26) | func (c *ConnLimiter) AddConnCount(user string, ip string, isTcp bool)... method DelConnCount (line 102) | func (c *ConnLimiter) DelConnCount(user string, ip string) { method ClearOnlineIP (line 139) | func (c *ConnLimiter) ClearOnlineIP() { function NewConnLimiter (line 16) | func NewConnLimiter(conn int, ip int, realtime bool) *ConnLimiter { FILE: limiter/conn_test.go function init (line 11) | func init() { function TestConnLimiter_AddConnCount (line 15) | func TestConnLimiter_AddConnCount(t *testing.T) { function TestConnLimiter_DelConnCount (line 20) | func TestConnLimiter_DelConnCount(t *testing.T) { function TestConnLimiter_ClearOnlineIP (line 27) | func TestConnLimiter_ClearOnlineIP(t *testing.T) { function BenchmarkConnLimiter (line 44) | func BenchmarkConnLimiter(b *testing.B) { FILE: limiter/dynamic.go method AddDynamicSpeedLimit (line 9) | func (l *Limiter) AddDynamicSpeedLimit(tag string, userInfo *panel.UserI... function determineSpeedLimit (line 19) | func determineSpeedLimit(limit1, limit2 int) (limit int) { FILE: limiter/limiter.go function Init (line 20) | func Init() { type Limiter (line 34) | type Limiter struct method UpdateUser (line 88) | func (l *Limiter) UpdateUser(tag string, added []panel.UserInfo, delet... method UpdateDynamicSpeedLimit (line 104) | func (l *Limiter) UpdateDynamicSpeedLimit(tag, uuid string, limit int,... method CheckLimit (line 115) | func (l *Limiter) CheckLimit(email string, ip string, isTcp bool) (Buc... type UserLimitInfo (line 43) | type UserLimitInfo struct function AddLimiter (line 50) | func AddLimiter(tag string, l *conf.LimitConfig, users []panel.UserInfo)... function GetLimiter (line 72) | func GetLimiter(tag string) (info *Limiter, err error) { function DeleteLimiter (line 82) | func DeleteLimiter(tag string) { type UserIpList (line 151) | type UserIpList struct function determineDeviceLimit (line 156) | func determineDeviceLimit(nodeLimit, userLimit int) (limit int) { FILE: limiter/rule.go method CheckDomainRule (line 9) | func (l *Limiter) CheckDomainRule(destination string) (reject bool) { method CheckProtocolRule (line 20) | func (l *Limiter) CheckProtocolRule(protocol string) (reject bool) { method UpdateRule (line 30) | func (l *Limiter) UpdateRule(rule *panel.Rules) error { FILE: main.go function main (line 5) | func main() { FILE: node/cert.go method renewCertTask (line 10) | func (c *Controller) renewCertTask() error { method requestCert (line 23) | func (c *Controller) requestCert() error { FILE: node/controller.go type Controller (line 16) | type Controller struct method Start (line 44) | func (c *Controller) Start() error { method Close (line 95) | func (c *Controller) Close() error { method buildNodeTag (line 115) | func (c *Controller) buildNodeTag(node *panel.NodeInfo) string { function NewController (line 34) | func NewController(server vCore.Core, api *panel.Client, config *conf.Co... FILE: node/lego/cert.go method SetProvider (line 14) | func (l *Lego) SetProvider() error { method CreateCert (line 37) | func (l *Lego) CreateCert() (err error) { method RenewCert (line 49) | func (l *Lego) RenewCert() error { method CheckCert (line 70) | func (l *Lego) CheckCert(file []byte) (bool, error) { method parseParams (line 81) | func (l *Lego) parseParams(path string) string { method writeCert (line 86) | func (l *Lego) writeCert(certificates *certificate.Resource) error { FILE: node/lego/lego.go type Lego (line 13) | type Lego struct function New (line 18) | func New(config *conf.CertConfig) (*Lego, error) { function checkPath (line 44) | func checkPath(p string) error { FILE: node/lego/lego_test.go function init (line 12) | func init() { function TestLego_CreateCertByDns (line 31) | func TestLego_CreateCertByDns(t *testing.T) { function TestLego_RenewCert (line 38) | func TestLego_RenewCert(t *testing.T) { FILE: node/lego/user.go type User (line 18) | type User struct method GetEmail (line 25) | func (u *User) GetEmail() string { method GetRegistration (line 28) | func (u *User) GetRegistration() *registration.Resource { method GetPrivateKey (line 31) | func (u *User) GetPrivateKey() crypto.PrivateKey { method Save (line 91) | func (u *User) Save(path string) error { method DecodePrivate (line 109) | func (u *User) DecodePrivate(pemEncodedPriv string) (*ecdsa.PrivateKey... method Load (line 115) | func (u *User) Load(path string) error { function NewUser (line 35) | func NewUser(path string, email string) (*User, error) { function registerUser (line 60) | func registerUser(user *User, path string) error { function EncodePrivate (line 83) | func EncodePrivate(privKey *ecdsa.PrivateKey) (string, error) { FILE: node/node.go type Node (line 10) | type Node struct method Start (line 18) | func (n *Node) Start(nodes []*conf.NodeConfig, core vCore.Core) error { method Close (line 39) | func (n *Node) Close() { function New (line 14) | func New() *Node { FILE: node/task.go method startTasks (line 13) | func (c *Controller) startTasks(node *panel.NodeInfo) { method nodeInfoMonitor (line 51) | func (c *Controller) nodeInfoMonitor() (err error) { method SpeedChecker (line 209) | func (c *Controller) SpeedChecker() error { FILE: node/user.go method reportUserTrafficTask (line 11) | func (c *Controller) reportUserTrafficTask() (err error) { function compareUserList (line 46) | func compareUserList(old, new []panel.UserInfo) (deleted, added []panel....