crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
959cae21
ROOT
/
option
/
rule_ip.go
Search
History
121 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_IPRule
Type
:
string
DefaultOptions
:
DefaultIPRule
LogicalOptions
:
LogicalIPRule
IPRule
MarshalJSON
()
:
([]byte, error)
DefaultIPRule
Inbound
Listable
:
[string] `json:"inbound,omitempty"` IPVersion
int
Network
Listable
:
[string] `json:"network,omitempty"` Domain
Listable
:
[string] `json:"domain,omitempty"` DomainSuffix
Listable
:
[string] `json:"domain_suffix,omitempty"` DomainKeyword
Listable
:
[string] `json:"domain_keyword,omitempty"` DomainRegex
Listable
:
[string] `json:"domain_regex,omitempty"` Geosite
Listable
:
[string] `json:"geosite,omitempty"` SourceGeoIP
Listable
:
[string] `json:"source_geoip,omitempty"` GeoIP
Listable
:
[string] `json:"geoip,omitempty"` SourceIPCIDR
Listable
:
[string] `json:"source_ip_cidr,omitempty"` IPCIDR
Listable
:
[string] `json:"ip_cidr,omitempty"` SourcePort
Listable
:
[uint16] `json:"source_port,omitempty"` SourcePortRange
Listable
:
[string] `json:"source_port_range,omitempty"` Port
Listable
:
[uint16] `json:"port,omitempty"` PortRange
Listable
:
[string] `json:"port_range,omitempty"` Invert
bool
Action
:
RouteAction
Outbound
:
string
IsValid
()
:
bool
RouteAction
MarshalJSON
()
:
([]byte, error)
LogicalIPRule
Mode
:
string
Rules
:
[]DefaultIPRule
Invert
:
bool
Action
:
RouteAction
Outbound
:
string
IsValid
()
:
bool
*IPRule
UnmarshalJSON
(bytes []byte)
:
error
*RouteAction
UnmarshalJSON
(bytes []byte)
:
error
All occurrences
Please wait...
Page is in error, reload to recover