mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-14 22:59:22 +00:00
chore: structure unifies the way to handle top-level and sub structs
This commit is contained in:
@@ -14,7 +14,7 @@ type RealityOptions struct {
|
||||
PublicKey string `proxy:"public-key"`
|
||||
ShortID string `proxy:"short-id"`
|
||||
|
||||
SupportX25519MLKEM768 bool `proxy:"support-x25519mlkem768"`
|
||||
SupportX25519MLKEM768 bool `proxy:"support-x25519mlkem768,omitempty"`
|
||||
}
|
||||
|
||||
func (o RealityOptions) Parse() (*tlsC.RealityConfig, error) {
|
||||
|
||||
Reference in New Issue
Block a user