MCPcopy Create free account

hub / github.com/NERVEbing/ikuai-aio / functions

Functions39 in github.com/NERVEbing/ikuai-aio

↓ 19 callersFunctionlogger
(tag string, format string, v ...any)
job/run.go:64
↓ 17 callersFunctionnewDesc
(namespace string, metricName string, help string, labels []string)
exporter/metrics.go:369
↓ 12 callersMethodrequest
(path string, body []byte)
api/client.go:43
↓ 10 callersFunctionlogger
(tag string, format string, v ...any)
exporter/run.go:43
↓ 9 callersFunctiongetEnv
(key, fallback string)
config/config.go:107
↓ 4 callersMethodLogin
()
api/auth.go:9
↓ 4 callersFunctionfetch
(url string)
job/run.go:69
↓ 3 callersFunctionNewClient
()
api/client.go:21
↓ 2 callersFunctionLoad
()
config/config.go:56
↓ 2 callersFunctionchunkSliceStr
(slice []string, size int)
api/util.go:16
↓ 2 callersFunctiondisplayName
(args ...string)
exporter/metrics.go:373
↓ 2 callersFunctionsetCron
(scheduler *gocron.Scheduler, cronStr string, isSkip bool)
job/run.go:94
↓ 1 callersMethodCustomISPAdd
(name string, ipGroupSlice []string, comment string)
api/call_custom_isp.go:75
↓ 1 callersMethodCustomISPDel
(ids []int)
api/call_custom_isp.go:38
↓ 1 callersMethodCustomISPShow
()
api/call_custom_isp.go:10
↓ 1 callersMethodHomepageShowSysStat
()
api/call_homepage.go:8
↓ 1 callersMethodIsLogin
()
api/auth.go:35
↓ 1 callersMethodMonitorIFaceShow
()
api/call_monitor_iface.go:8
↓ 1 callersMethodMonitorLanIPShow
()
api/call_monitor_lanip.go:8
↓ 1 callersFunctionNewMetrics
(namespace string)
exporter/metrics.go:40
↓ 1 callersFunctionRun
(c *config.Config)
job/run.go:15
↓ 1 callersFunctionRun
(c *config.Config)
exporter/run.go:13
↓ 1 callersMethodStreamDomainAdd
(interfaceSlice []string, domainSlice []string, srcAddr string, comment string)
api/call_stream_domain.go:75
↓ 1 callersMethodStreamDomainDel
(ids []int)
api/call_stream_domain.go:38
↓ 1 callersMethodStreamDomainShow
()
api/call_stream_domain.go:10
↓ 1 callersMethodWebUserShow
()
api/call_webuser.go:7
↓ 1 callersFunctionisValidDomain
(s string)
api/util.go:48
↓ 1 callersFunctionisValidDomainCharacter
(char rune, index int, domain string)
api/util.go:61
↓ 1 callersMethodmatchCronCustomISP
()
config/config.go:115
↓ 1 callersMethodmatchCronStreamDomain
()
config/config.go:159
↓ 1 callersFunctionparseIPv4
(s string)
api/util.go:33
↓ 1 callersFunctiontoMD5
(s string)
api/util.go:11
MethodCollect
(ch chan<- prometheus.Metric)
exporter/metrics.go:88
MethodDescribe
(ch chan<- *prometheus.Desc)
exporter/metrics.go:68
FunctionTestFetchStatusError
(t *testing.T)
job/fetch_test.go:25
FunctionTestFetchSuccess
(t *testing.T)
job/fetch_test.go:9
Functionmain
()
cmd/main.go:12
FunctionupdateCustomISP
(c *config.IKuaiCronCustomISP, tag string)
job/update_custom_isp.go:10
FunctionupdateStreamDomain
(c *config.IKuaiCronStreamDomain, tag string)
job/update_stream_domain.go:10