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
41e1e48a
ROOT
/
option
/
rule.go
Search
History
102 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_Rule
Type
:
string
DefaultOptions
:
DefaultRule
LogicalOptions
:
LogicalRule
Rule
MarshalJSON
()
:
([]byte, error)
DefaultRule
Inbound
Listable
:
[string] `json:"inbound,omitempty"` IPVersion
int
Network
Listable
:
[string] `json:"network,omitempty"` AuthUser
Listable
:
[string] `json:"auth_user,omitempty"` Protocol
Listable
:
[string] `json:"protocol,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"` ProcessName
Listable
:
[string] `json:"process_name,omitempty"` ProcessPath
Listable
:
[string] `json:"process_path,omitempty"` PackageName
Listable
:
[string] `json:"package_name,omitempty"` User
Listable
:
[string] `json:"user,omitempty"` UserID
Listable
:
[int32] `json:"user_id,omitempty"` ClashMode
string
Invert
:
bool
Outbound
:
string
IsValid
()
:
bool
LogicalRule
Mode
:
string
Rules
:
[]DefaultRule
Invert
:
bool
Outbound
:
string
IsValid
()
:
bool
*Rule
UnmarshalJSON
(bytes []byte)
:
error
All occurrences
Please wait...
Page is in error, reload to recover