Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Loyalsoldier/geoip
/ functions
Functions
280 in github.com/Loyalsoldier/geoip
⨍
Functions
280
◇
Types & classes
48
↓ 77 callers
Method
String
()
plugin/v2ray/geoip.pb.go:41
↓ 41 callers
Method
GetName
()
lib/entry.go:26
↓ 18 callers
Method
AddPrefix
(cidr any)
lib/entry.go:285
↓ 17 callers
Function
RegisterInputConfigCreator
(id string, fn inputConfigCreator)
lib/config.go:19
↓ 17 callers
Function
RegisterInputConverter
(name string, c InputConverter)
lib/converter.go:26
↓ 16 callers
Function
GetIgnoreIPType
(onlyIPType IPType)
lib/common.go:37
↓ 13 callers
Function
NewEntry
(name string)
lib/entry.go:20
↓ 12 callers
Function
RegisterOutputConfigCreator
(id string, fn outputConfigCreator)
lib/config.go:37
↓ 12 callers
Function
RegisterOutputConverter
(name string, c OutputConverter)
lib/converter.go:47
↓ 11 callers
Method
Remove
(entry *Entry, rCase CaseRemove, opts ...IgnoreIPOption)
lib/container.go:15
↓ 10 callers
Method
Add
(entry *Entry, opts ...IgnoreIPOption)
lib/container.go:14
↓ 9 callers
Method
hasIPv4Builder
()
lib/entry.go:30
↓ 9 callers
Method
hasIPv6Builder
()
lib/entry.go:34
↓ 7 callers
Method
GetEntry
(name string)
lib/container.go:12
↓ 7 callers
Method
Loop
()
lib/container.go:16
↓ 5 callers
Method
buildIPSet
()
lib/entry.go:307
↓ 5 callers
Method
hasIPv4Set
()
lib/entry.go:38
↓ 5 callers
Method
hasIPv6Set
()
lib/entry.go:42
↓ 5 callers
Function
newTextIn
(iType string, iDesc string, action lib.Action, data json.RawMessage)
plugin/plaintext/text_in.go:29
↓ 4 callers
Method
MarshalText
(opts ...IgnoreIPOption)
lib/entry.go:399
↓ 4 callers
Function
NewInstance
()
lib/instance.go:29
↓ 4 callers
Method
lookup
(addrOrPrefix any, iptype IPType, searchList ...string)
lib/container.go:227
↓ 4 callers
Function
newTextOut
(iType string, iDesc string, action lib.Action, data json.RawMessage)
plugin/plaintext/common_out.go:35
↓ 3 callers
Method
AddInput
(InputConverter)
lib/instance.go:15
↓ 3 callers
Method
AddOutput
(OutputConverter)
lib/instance.go:16
↓ 3 callers
Function
GetRemoteURLContent
(url string)
lib/common.go:10
↓ 3 callers
Function
GetRemoteURLReader
(url string)
lib/common.go:24
↓ 3 callers
Method
Run
()
lib/instance.go:21
↓ 3 callers
Function
file_geoip_proto_rawDescGZIP
()
plugin/v2ray/geoip.pb.go:204
↓ 3 callers
Function
newGeoLite2CountryMMDBIn
(iType string, iDesc string, action lib.Action, data json.RawMessage)
plugin/maxmind/common_in.go:17
↓ 3 callers
Function
newGeoLite2CountryMMDBOut
(iType string, iDesc string, action lib.Action, data json.RawMessage)
plugin/maxmind/common_out.go:103
↓ 2 callers
Method
GetAction
()
lib/lib.go:32
↓ 2 callers
Method
GetDescription
()
lib/lib.go:36
↓ 2 callers
Method
GetEntry
(name string)
lib/container.go:34
↓ 2 callers
Method
GetType
()
lib/lib.go:28
↓ 2 callers
Function
NewContainer
()
lib/container.go:24
↓ 2 callers
Method
RemovePrefix
(cidr string)
lib/entry.go:296
↓ 2 callers
Method
generateEntries
(reader io.Reader, entries map[string]*lib.Entry)
plugin/v2ray/dat_in.go:157
↓ 2 callers
Method
generateEntries
(name string, reader io.Reader, entries map[string]*lib.Entry)
plugin/mihomo/mrs_in.go:224
↓ 2 callers
Method
generateEntries
(name string, reader io.Reader, entries map[string]*lib.Entry)
plugin/singbox/srs_in.go:218
↓ 2 callers
Function
getInputForLookup
(format, name, uri, dir string)
lookup.go:161
↓ 2 callers
Function
getOutputForLookup
(search string, searchList ...string)
lookup.go:264
↓ 2 callers
Method
isValid
()
lib/container.go:30
↓ 2 callers
Function
isValidIPOrCIDR
Check if the input is a valid IP or CIDR
lookup.go:145
↓ 2 callers
Method
process
(file string, entries map[string]*lib.Entry)
plugin/maxmind/maxmind_asn_csv_in.go:160
↓ 2 callers
Method
process
(file string, ccMap map[string]string, entries map[string]*lib.Entry)
plugin/maxmind/maxmind_country_csv_in.go:195
↓ 2 callers
Method
processPrefix
(src any)
lib/entry.go:70
↓ 2 callers
Method
readClashRuleSetYAMLFile
(reader io.Reader)
plugin/plaintext/common_in.go:86
↓ 2 callers
Method
scanFile
(reader io.Reader, entry *lib.Entry)
plugin/plaintext/common_in.go:30
↓ 2 callers
Method
walkLocalFile
(path, name string, entries map[string]*lib.Entry)
plugin/plaintext/text_in.go:184
↓ 2 callers
Method
walkLocalFile
(path, name string, entries map[string]*lib.Entry)
plugin/mihomo/mrs_in.go:168
↓ 2 callers
Method
walkLocalFile
(path, name string, entries map[string]*lib.Entry)
plugin/singbox/srs_in.go:162
↓ 2 callers
Method
writeFile
(filename string, geoIPBytes []byte)
plugin/v2ray/dat_out.go:214
↓ 1 callers
Method
GetExtraInfo
()
plugin/maxmind/common_out.go:153
↓ 1 callers
Method
GetIPv4Set
()
lib/entry.go:46
↓ 1 callers
Method
GetIPv6Set
()
lib/entry.go:58
↓ 1 callers
Method
GetIp
()
plugin/v2ray/geoip.pb.go:64
↓ 1 callers
Method
GetPrefix
()
plugin/v2ray/geoip.pb.go:71
↓ 1 callers
Method
InitConfig
(configFile string)
lib/instance.go:13
↓ 1 callers
Method
InitConfigFromBytes
(content []byte)
lib/instance.go:52
↓ 1 callers
Method
Input
(Container)
lib/lib.go:43
↓ 1 callers
Function
ListInputConverter
()
lib/converter.go:14
↓ 1 callers
Function
ListOutputConverter
()
lib/converter.go:35
↓ 1 callers
Method
Lookup
(ipOrCidr string, searchList ...string)
lib/container.go:17
↓ 1 callers
Method
Loop
()
lib/container.go:52
↓ 1 callers
Method
MarshalIPRange
(opts ...IgnoreIPOption)
lib/entry.go:363
↓ 1 callers
Method
MarshalPrefix
(opts ...IgnoreIPOption)
lib/entry.go:327
↓ 1 callers
Method
Output
(Container)
lib/lib.go:50
↓ 1 callers
Method
ResetOutput
()
lib/instance.go:18
↓ 1 callers
Method
RunInput
(Container)
lib/instance.go:19
↓ 1 callers
Method
RunInput
(container Container)
lib/instance.go:89
↓ 1 callers
Method
RunOutput
(Container)
lib/instance.go:20
↓ 1 callers
Method
RunOutput
(container Container)
lib/instance.go:101
↓ 1 callers
Method
add
(prefix *netip.Prefix, ipType IPType)
lib/entry.go:249
↓ 1 callers
Method
appendIPOrCIDR
(ipOrCIDR []string, name string, entries map[string]*lib.Entry)
plugin/plaintext/text_in.go:255
↓ 1 callers
Method
convertToMrs
(ipRanges []netipx.IPRange, w io.Writer)
plugin/mihomo/mrs_out.go:179
↓ 1 callers
Function
createInputConfig
(id string, action Action, data json.RawMessage)
lib/config.go:28
↓ 1 callers
Function
createOutputConfig
(id string, action Action, data json.RawMessage)
lib/config.go:46
↓ 1 callers
Function
file_geoip_proto_init
()
plugin/v2ray/geoip.pb.go:228
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/maxmind/maxmind_country_mmdb_out.go:122
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/plaintext/text_out.go:60
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/v2ray/dat_out.go:147
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/mihomo/mrs_out.go:104
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/special/stdout.go:92
↓ 1 callers
Method
filterAndSortList
(container lib.Container)
plugin/singbox/srs_out.go:103
↓ 1 callers
Method
generate
(entry *lib.Entry)
plugin/mihomo/mrs_out.go:140
↓ 1 callers
Method
generate
(entry *lib.Entry)
plugin/singbox/srs_out.go:139
↓ 1 callers
Method
generateCIDRList
(entry *lib.Entry)
plugin/special/stdout.go:128
↓ 1 callers
Method
generateEntries
(content []byte, entries map[string]*lib.Entry)
plugin/maxmind/maxmind_country_mmdb_in.go:92
↓ 1 callers
Method
generateGeoIP
(entry *lib.Entry)
plugin/v2ray/dat_out.go:183
↓ 1 callers
Method
getCountryCode
()
plugin/maxmind/maxmind_country_csv_in.go:148
↓ 1 callers
Function
getInputForMerge
()
merge.go:43
↓ 1 callers
Function
getOutputForMerge
(otype string)
merge.go:52
↓ 1 callers
Method
marshalBytes
(entry *lib.Entry)
plugin/plaintext/common_out.go:85
↓ 1 callers
Method
marshalBytesForClashRuleSetClassicalOut
(buf *bytes.Buffer, entryCidr []string)
plugin/plaintext/common_out.go:125
↓ 1 callers
Method
marshalBytesForClashRuleSetIPCIDROut
(buf *bytes.Buffer, entryCidr []string)
plugin/plaintext/common_out.go:144
↓ 1 callers
Method
marshalBytesForSurgeRuleSetOut
(buf *bytes.Buffer, entryCidr []string)
plugin/plaintext/common_out.go:155
↓ 1 callers
Method
marshalBytesForTextOut
(buf *bytes.Buffer, entryCidr []string)
plugin/plaintext/common_out.go:111
↓ 1 callers
Method
marshalData
(writer *mmdbwriter.Tree, entry *lib.Entry, extraInfo map[string]any)
plugin/maxmind/maxmind_country_mmdb_out.go:178
↓ 1 callers
Method
marshalRuleSet
(entry *lib.Entry)
plugin/singbox/srs_out.go:153
next →
1–100 of 280, ranked by callers