mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
21 lines
457 B
Go
21 lines
457 B
Go
package constant
|
|
|
|
type WARPConfig struct {
|
|
PrivateKey string `json:"private_key"`
|
|
Interface struct {
|
|
Addresses struct {
|
|
V4 string `json:"v4"`
|
|
V6 string `json:"v6"`
|
|
} `json:"addresses"`
|
|
} `json:"interface"`
|
|
Peers []struct {
|
|
PublicKey string `json:"public_key"`
|
|
Endpoint struct {
|
|
V4 string `json:"v4"`
|
|
V6 string `json:"v6"`
|
|
Host string `json:"host"`
|
|
Ports []int `json:"ports"`
|
|
} `json:"endpoint"`
|
|
} `json:"peers"`
|
|
}
|